-
Notifications
You must be signed in to change notification settings - Fork 7
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
Is there any reason why this library build on top of BigInt? #2
Comments
The second is a ready to use decimal library, i am using it to test against my implementation, test.js has some random tests. |
I don't konw how the decimal.js being implemented, i think the way that build on top of BigInt will benifit the |
And i found there is no way transform this library to jsbi, cause that babel plugin can only transform jsbi to native BigInt(not reverse). |
Yes, perhaps, and this is also some separation of code... |
The plugin in readme transforms code to use JSBI |
In fact, i want to implement a
Sorry, i am wrong, you made a reverse transformer, that's awesome! In fact, i want made a similar library too, to deal with both decimal and bigint, is anything i can help with the code? |
The babel plugin is a little buggy right now and needs to be fixed (see Yaffle/babel-plugin-transform-bigint#5 ). |
I saw that you implement two version of the decimal proposal , one is on top of BIgInt, and another use the
decimal.js
,what is the advantage and disadvantage between this two way?
The text was updated successfully, but these errors were encountered: