Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

equality

f64.type.equality

(a f64, b f64)
 => 
bool
[Contains abstract features]
equality

This provides an equivalence relation in the mathematical
sense and therefore breaks the IEEE semantics. infix = should
be used for IEEE semantics.

The equivalence relation is provided by the usual comparison
of floating-point numbers, with the definition of NaN = NaN.
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)