Re: New numbersystems strange behaviour of arclength

Karel <[email protected]> Tue, 12 Mar 2019 19:02:40 +0100
Newsgroups gmane.comp.tex.metapost
Message-ID <[email protected]>
Dear Luigi,

the following code

beginfig(0);
path s;
s:=fullcircle scaled 30mm;
for k=0 upto 18: draw origin--point(arctime ((k/36)*arclength s) of s) 
of s; endfor
endfig;
end

gives very strange results when used with
numbersystem=decimal or binary (mpost 2.00 for TeXlive 2019).

With scaled a double numbersystem everything works fine.

It would be also nice (from practical point of view) if the numbersystem 
could be read by mpost from the compiled file, e.g. from commented first 
line like the format in TeX file.

All the best,
Karel Horak

--
http://tug.org/metapost/
arc-binary.0 (application/postscript, 2 KB) - not displayed
arc-decimal.0 (application/postscript, 2 KB) - not displayed