mirror of
https://github.com/enso-org/enso.git
synced 2024-11-26 08:52:58 +03:00
0d495ffd97
Resolves #9607 by computing `Number.hash` by converting given number to `Float` first and then computing the hash. Also the conversion from `Float.to Decimal` is exact - done via `new BigDecimal(double)`. There is `Decimal.new` that handles the user-friendly conversion. However as a result `Decimal.from 2.1 != Decimal.new 2.1` - that's the only way to ensure consistency between hash code and conversions. |
||
---|---|---|
.. | ||
extensions.json | ||
gui2.code-snippets | ||
launch.json | ||
settings.json |