On 5/21/2021 5:24 PM, Otared Kavian wrote:
Hi Hans,

Thanks for the new features you have introduced in the module mathfun.
Actually I have been using commands such as the one mentioned by Aditya,
        \ctxlua{myfunction(args)}
but for the formatting of the output, that is when one wants only 3 or four 
decimal digits, that approach is not very handy.
So I will use the new feature and I’ll put it on the wiki once I have a few 
interesting examples.
By the way, what does

        \complexexpr{123 + new(456,789)}
complex numbers, so (re=123,im=0) + (re=456,im=789)

this uses the xcomplex library that is in lmtx, while ecimal uses the xdecimal library for decimal precision(as in metapost decimal mode)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to