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

Use DEC64 instead of Number #17

Open
wolfgang42 opened this issue Jul 31, 2018 · 2 comments
Open

Use DEC64 instead of Number #17

wolfgang42 opened this issue Jul 31, 2018 · 2 comments
Milestone

Comments

@wolfgang42
Copy link
Owner

Per the spec:

Numbers in Rockstar are stored using the DEC64 numeric type.

Presumably I'll need some sort of library for this. Stress-tests would also be nice, so once this is implemented we can brag about how much better than other implementations we are :)

@wolfgang42 wolfgang42 added the ready Ready for development label Jul 31, 2018
@wolfgang42 wolfgang42 added this to the Spec Complete milestone Jul 31, 2018
@dylanrenwick
Copy link
Collaborator

I did some brief research and couldn't find any DEC64 libraries for Node.js, so it might need to be implemented from scratch in rockstar.js

I'll do some playing around tonight and see if I can find a solution without re-inventing "the wheel" (read: number types in js)

@wolfgang42 wolfgang42 removed the ready Ready for development label Aug 2, 2018
@aDotInTheVoid
Copy link

This Commit changed the number format to IEEE 754 double percision, so you could update your spec to solve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants