Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

hash_code

f64.type.hash_code

create hash code from this number

special handling for floats:
although -0.0 and 0.0 are different in bit representation,
they are considered equal by both type.equality and IEEE
standard, hence they should have the same hash.
all NaNs are considered equal by type.equality (but not
the IEEE standard), so the hash of any NaN is the hash of
the "canonical" NaN.
0.095dev (GIT hash 5f19dac1008648f355e38b291a14980aecf8af80)
last changed: 2026-05-19