[metapost] quick question

Hartmut Henkel hartmut_henkel at gmx.de
Mon Aug 18 21:20:30 CEST 2014


On Mon, 18 Aug 2014, Walt Burkhard wrote:

> Does the current mpost 1.902 from texlive run with "large"
> integer/double values?    I am using  something on the order of  
> 97*360  within the sind and cosd functions.    
>
> If not, what command line option do I need.

$ cat x.mp
message(decimal(sind(97*360+45)));
end

$ mpost -numbersystem="double" x
This is MetaPost, version 1.902 (TeX Live 2014) (kpathsea version 6.2.0)
(/usr/local/texlive/2014/texmf-dist/metapost/base/mpost.mp
(/usr/local/texlive/2014/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.005) ) (./x.mp
0.70710678118654746 )
Transcript written on x.log.

Regards, Hartmut


More information about the metapost mailing list