mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
4076a64f33
`Number.nan` can be used as a key in `Map`. This PR basically implements the support for [JavaScript's Same Value Zero Equality](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#same-value-zero_equality) so that `Number.nan` can be used as a key in `Map`. # Important Notes - For NaN, it holds that `Meta.is_same_object Number.nan Number.nan`, and `Number.nan != Number.nan` - inspired by JS spec. - `Meta.is_same_object x y` implies `Any.== x y`, except for `Number.nan`. |
||
---|---|---|
.. | ||
Benchmarks | ||
Examples_Tests | ||
Geo_Tests | ||
Google_Api_Test | ||
Image_Tests | ||
Meta_Test_Suite_Tests | ||
micro-distribution | ||
Table_Tests | ||
Tests | ||
Visualization_Tests |