pub trait IsFloatingPoint {
const FLOATING_POINT: bool;
const MIN_EXP: i32;
}Expand description
Is the underlying type a floating point number?
Required Associated Constants§
sourceconst FLOATING_POINT: bool
const FLOATING_POINT: bool
true iff the underlying type is a floating point number
sourceconst MIN_EXP: i32
const MIN_EXP: i32
One greater than the minimum possible normal power of 2 exponent, see
f64::MIN_EXP for instance. 0 for integers
Object Safety§
This trait is not object safe.
Implementors§
source§impl IsFloatingPoint for F64
impl IsFloatingPoint for F64
cbindgen:ignore
source§impl<T> IsFloatingPoint for Saturating<T>
impl<T> IsFloatingPoint for Saturating<T>
cbindgen:ignore