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

bignumber.js support? #52

Open
alexdonh opened this issue Jun 1, 2022 · 4 comments
Open

bignumber.js support? #52

alexdonh opened this issue Jun 1, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@alexdonh
Copy link

alexdonh commented Jun 1, 2022

Hi @mrousavy I just wonder if this will also support easy drop-in replacement for bignumber.js?

@Nodonisko
Copy link

Also interested. If I will have time I will try to compare bignumber.js API vs bn.js API and that should give us answer.

@snicro
Copy link

snicro commented Nov 19, 2022

I think a key difference would be floating point support. bn.js doesn't have it and bignumber.js does.

@mrousavy
Copy link
Member

This lib does support floating points natively, however to make it compatible with bn.js we didn't expose that API. We can easily create an API layer for bignumber.js as well and have floating point operations - it would also be a lot faster than bignumber.js

Reach out to me over email if you want us to work on this

@allen-hsu
Copy link

Hi, @mrousavy could you support bignumber.js ? I think it's very useful, thx your help..

@Montchy Montchy added the enhancement New feature or request label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants