[NTG-context] About xdecimal

Jairo A. del Rio jairoadelrio6 at gmail.com
Mon Dec 28 14:33:22 CET 2020


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.
2. Integer division (//) is not implemented. Is that by design?
3. Following 2, what would be the way to handle integer division,
remainder... for large numbers?

Thank you in advance.

Best regards,

Jairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201228/0ee19580/attachment.htm>


More information about the ntg-context mailing list