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 6fe4713e6f0ffc9fa21235ced6756ebe4d5da1fe)
last changed: 2026-05-22