An equivalence forDoubles which is consistent with IEEE specifications.
Because the behaviour ofDoubles specified by IEEE is not consistent with behaviors required of an equivalence relation forNaN (it is not reflexive), there are two equivalences defined forDouble:StrictEquiv, which is reflexive, andIeeeEquiv, which is consistent with IEEE spec and floating point operations defined inscala.math.
This equivalence may be preferable for numeric contexts.
Returnstrue iffx is equivalent toy.