Mixin for common floating point functions
Provided methods
-
fn nan() -> Self
Returns
NaN
. -
fn infinity() -> Self
Returns a positive infinity.
-
fn neg_infinity() -> Self
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.