munrocket

Results 120 comments of munrocket

This is a breaking change. Web usually doesn’t break things. Also https://0.30000000000000004.com/

Ha-ha I believe it’s not possible with BigDecimal too. Warn about precision issue in readme section will be enough. If you want full precision for any expression, it’s possible with...

Thanks for clarifying, looks legit.

Yea, proper example is differ. ``` 1m/31m + 2m/31m != 3m/31m 1m/3m + 1m/3m != 2m/3m ``` With java it will give this result ``` $ java FractionSum.java 0.09677419354838709677419354838709678 0.09677419354838709677419354838709677...

`|a - b| < 0.0000000001` can be implemented with `number` too. Maybe in this case "almost equal mantissa" is better: ``` 0.9677419354838709677419354838709678e-60 0.9677419354838709677419354838709677e-60 not equal almost equal mantissa ``` "almost...

> Looks like a dawn issue. Maybe because I used linux. But other websites was ok. I can check Firefox Nightly.

With C++ (dawn) I can set validation limit to any amount and this error go away. I suppose with rust+wgpu the same situation?

No, not sure I will add it in future or not, but thanks for question.

Added into [ta-math](https://github.com/munrocket/ta-math), you can leave feedback.