yslide / slide

A math expression rewrite system.
https://yslide.github.io
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Arbitrary-precision numbers #261

Open ayazhafiz opened 4 years ago

ayazhafiz commented 4 years ago

We really need this. Otherwise, our precision is not very good.

ayazhafiz commented 4 years ago

Okay, rug won't work because it can't compile to wasm. So I think there are two options forward:

  1. wrap rug in a Number type with a fallback for wasm (maybe bigdecimal-rs)
  2. Just use bigdecimal-rs

I am in favor of the former, but this is actually going to be a lot of work.

ayazhafiz commented 4 years ago

Rolled back #262 in 2084db0

ayazhafiz commented 4 years ago

this is not fun ):