Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

64 bit integers #1

Open
Open
@max-mapper

Description

@max-mapper

The JavaScript Number type can handle floating point numbers up to 53 bits in precision, but all byte level operations (>>, |, etc) only work with numbers up to 32 bits in precision.

There are many use cases in scientific computing where you need 64 bit precision arithmetic. Currently doing this in JS means using a userland "big number" library like https://github.com/indutny/bn.js. It would be excellent if 64 bit numbers and arithmetic was supported by JS so that it could be fast.

TC39 (JS Standards body) has a proposal for this:

https://gist.github.com/BrendanEich/4294d5c212a6d2254703

But it currently lacks a 'champion', meaning nobody is actively working on refining the proposal into something they can recommend for implementation.

I think it would be great to help them find a champion, the requirements are:

Someone who's (a) part of a company paying Ecma member dues; (b) willing to and preferably experienced in writing a spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions