I forgot to mention ceil and floor, just in case they can be implemented. I
have a long list of examples, so testing will be easy. Thank you very much.

Best regards,

Jairo :)

El lun, 28 de dic. de 2020 a la(s) 10:39, Hans Hagen (j.ha...@xs4all.nl)
escribió:

> On 12/28/2020 2:33 PM, Jairo A. del Rio wrote:
> > Hi, list.
> >
> > I've tried using the xdecimal library included with LuaMetaTeX and I
> > have some remarks:
> >
> > 1. Shifts are decimal, not binary: 145 >> 1 gives 14.
>
> this is how decnumber defines shift: digits
>
> > 2. Integer division (//) is not implemented. Is that by design?
>
> i'll add that one
>
> > 3. Following 2, what would be the way to handle integer division,
> > remainder... for large numbers?
>
> i'll add a % b
>
> > Thank you in advance.
> better first do the testing
>
> 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