See theIeeeEquiv companion object
An equivalence for
Floats which is consistent with IEEE specifications.
Because the behaviour of
Floats specified by IEEE is not consistent with behaviors required of an equivalence relation for
NaN (it is not reflexive), there are two equivalences defined for
StrictEquiv, which is reflexive, and
IeeeEquiv, which is consistent with IEEE spec and floating point operations defined in scala.math.
This equivalence may be preferable for numeric contexts.
- See also
- Known subtypes
In this article