Struct noisy_float::checkers::FiniteChecker [] [src]

pub struct FiniteChecker;

A FloatChecker that considers all values valid except NaN and +/- Infinity.

The assert method is implemented using debug_assert!.

Trait Implementations

impl<F: Float> FloatChecker<F> for FiniteChecker
[src]

[src]

A function that may panic if the floating point number is invalid. Read more

[src]

Returns true if (and only if) the given floating point number is valid according to this checker's criteria. Read more