Yaffle / BigDecimal

a polyfill for decimal propocal
MIT License
51 stars 7 forks source link

demo page #4

Open Yaffle opened 3 years ago

munrocket commented 3 years ago

Your implementation of BigDecimal is really good. Please consider an article on dev.to or medium. I added link to your library in my pet project - Jampary :)

Yaffle commented 3 years ago

@munrocket, thanks, but the source code looks scary, some lines are too long, and i do not plan to support this library. i have another interesting library may be will write posts about it🙂

Yaffle commented 3 years ago

I think, there are different use cases. Some people may not need math functions at all, and need the best performance, so BigFloat with fixed point arithmetic will be the best and you do not need to have so much code.

munrocket commented 3 years ago

BigFloat doesn’t have division :)

munrocket commented 3 years ago

You mean BigFloat32 maybe. But it not so fast, your BigDecimal is faster for me.

Yaffle commented 3 years ago

@munrocket thanks for the link to this library :-)