[metapost] arclength() tolerances

Hartmut Henkel hartmut_henkel at gmx.de
Wed Apr 2 21:10:40 CEST 2014


Hi,

in metapost there seem to be absolute tolerance values for iterative
algorithms like arclength() even in the double numbersystem:

path p;
p:=fullcircle scaled 0.01;
message(decimal(arclength(p)));
p:=fullcircle scaled 10000;
message(decimal(arclength(p)));

This is MetaPost, version 1.803 (kpathsea version 6.1.1)
(mpost.mp (/usr/local/texlive/2013/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.005) ) (./xx.mp
0.03147739887362138
31415.99535777498)

Regards, Hartmut



More information about the metapost mailing list