[metapost] Metafun: the pi number in double precision

Franck Pastor franck.pastor at me.com
Sat Jan 25 09:05:31 CET 2014


Hello,

I am still practicing with the brand new double number system. This time I noticed something wrong with the pi number as it is defined in the Metafun format.

With numbersystem=scaled,  "show pi;"  returns (as expected)

>> 3.14159

Now, with numbersystem set to double, it returns

>> 3.1415926

Only two more decimals, whereas I expected something with plenty of decimals, like

3.14159265358979

Is it a bug? or a feature? I couldn't help noticing that Metafun's answer is precisely the number version of the TeX's distribution to be found in TeX Live 2013…

Thanks,

Franck Pastor


More information about the metapost mailing list