Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

True 64-bit Integers in JS Implementation #23

Open
MTrop opened this issue Jan 10, 2019 · 0 comments
Open

True 64-bit Integers in JS Implementation #23

MTrop opened this issue Jan 10, 2019 · 0 comments
Labels
bug Introduced unintentional problem.
Milestone

Comments

@MTrop
Copy link
Member

MTrop commented Jan 10, 2019

Currently, the math in JS TAME is using Number, which works for 64-bit floats, but not integers, whose precision is capped to 53 bits (highest representable whole number in IEEE 754 float).

Must employ either a BigInt or String-like solution for integers. Will require overhauling lots of the TValue.js calculating functions, plus how TValue objects store its data.

@MTrop MTrop added the bug Introduced unintentional problem. label Jan 10, 2019
@MTrop MTrop added this to the v1.0 milestone Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Introduced unintentional problem.
Development

No branches or pull requests

1 participant