very good, but do you have a small bug: Number(BigInt("100000000000000008192")) === 100000000000000020000, should be 100000000000000000000 ?
-
-
-
and ((-1n) ** 2n) === -1n
- 2 more replies
New conversation -
-
-
You can try the new BigInt implementation using the --harmony-bigint command line flag in both Node and Chrome Canary.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Happy this is happening. I confess though, I am shocked how good these libraries performance is!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'm impressed. Let's ship it!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Really great work, only concern is the proposed syntax - feels a bit like ducktape
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Is there gonna be BigDecimal as well? I've been using the Java port
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
And the performance of this baseline implementation looks very promising already! 