Re: Limit of arclength when calculating intersectiontimes ?
Hans Hagen <[email protected]> Wed, 23 Apr 2025 13:02:40 +0200
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <[email protected]> |
On 4/23/2025 12:43 PM, Toby Thurston wrote:
> Can I draw your attention to this question on TeX.SE?
>
> https://tex.stackexchange.com/q/741317/15036
>
> Apparently MP fails to calculate `intersectiontimes` if either path has a `arclength` > 32767.99997 regardless of the number system being used.
>
> Is this limit of `2**15-epsilon` baked in somewhere?
as mickep already answered there, intersection calculations happen
inside the 'valid' scaled range and actually the 32K is already
exceeding the 4K here
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
--
http://tug.org/metapost/