Efficient 64 bit arithmetic

Mark S. Miller erights at google.com
Wed Sep 24 15:21:15 PDT 2014


On Wed, Sep 24, 2014 at 5:37 PM, Brendan Eich <brendan at mozilla.org> wrote:

> Hi Fabrice,
>
> Thanks for the proposal, I ran it by TC39 yesterday and it advanced to
> stage 0. This means work getting to stage 1, per:
>
> https://docs.google.com/document/d/1QbEE0BsO4lvl7NFTn5WXWeiEIBfaV
> UF7Dk0hpPpPDzU/edit
>
> The committee liked it not only for emulating int64 and uint64 more
> efficiently (e.g., for Emscripten), even though we intend to support int64
> and uint64 value objects, but also for bignum emulation (using 64-bit
> "bigits" or "big digits", h/t Mark Miller), decimal emulation, etc.
>

AFAIK, coined by http://dl.acm.org/citation.cfm?id=319861 , though
Smalltalk used the technique much earlier.



>
> This gist
>
> https://gist.github.com/BrendanEich/4294d5c212a6d2254703
>
> is based on your original post, but with a name change suggested by
> several on TC39: imuluh => umulh.
>
> Feedback welcome. Thanks again for suggesting this -- thanks to @mraleph
> for his earlier proposal too.
>
> /be
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140924/426abccd/attachment.html>


More information about the es-discuss mailing list