mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 02:42:28 +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. |
||
---|---|---|
.. | ||
aws/src/main/java/org/enso/aws | ||
base/src/main/java/org/enso/base | ||
benchmarks/src/main/java/org/enso/benchmarks/libs | ||
database/src/main/java/org/enso/database | ||
google-api | ||
image/src/main/java/org/enso/image | ||
snowflake/src/main/java/org/enso/snowflake | ||
table/src/main |