protocol FloatOps<Self> { ... }
Mixin for common floating point functions
Provided methods
-
Returns
NaN
. -
Returns a positive infinity.
-
Returns a negative infinity.
-
Returns
true
if the number is NaN,false
otherwise. -
Returns
true
if the number is infinite,false
otherwise. -
Returns
true
if the number is neither infinite nor NaN,false
otherwise.