Re: Problem with decimal numbersystem
luigi scarso <[email protected]> Tue, 19 Sep 2017 09:42:38 +0200
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <CAG5iGsBJc5Leje01_e_9vVmSsA+_Npy3GN=RW=AWToPrz6pkBA@mail.gmail.com> |
On Tue, Sep 19, 2017 at 8:34 AM, luigi scarso <[email protected]> wrote: > On Tue, Sep 19, 2017 at 7:14 AM, luigi scarso <[email protected]> wrote: >> On Tue, Sep 19, 2017 at 6:43 AM, Franck Pastor <[email protected]> wrote: >>> Hello, >>> >>> The decimal number system implemented in MetaPost (mplib?) seems to be bugged. > > Confirmed, see > http://tracker.luatex.org/view.php?id=1000 > > -- > luigi hm, the following code is ok in context \starttext \startMPcode{decimalfun} numberprecision:=45; label(decimal 1/3, origin); \stopMPcode \startMPcode{binaryfun} numberprecision:=47; label(decimal 1/3, origin); \stopMPcode \startMPcode{doublefun} label(decimal 1/3, origin); \stopMPcode \stoptext It seems that mplib in lualatex is de-initialize two times, the second one by the lua garbage collector. I need to see where/why. -- luigi -- http://tug.org/metapost/