Trait opendp::traits::ExactIntBounds
source · pub trait ExactIntBounds {
const MAX_CONSECUTIVE: Self;
const MIN_CONSECUTIVE: Self;
}
Expand description
Consts representing the maximum and minimum finite consecutive values.
This is also implemented for floats, as neighboring floating point values may differ by more than 1 when the mantissa is exhausted.
Required Associated Constants§
sourceconst MAX_CONSECUTIVE: Self
const MAX_CONSECUTIVE: Self
Proof Definition
Self::MAX_CONSECUTIVE
is the largest integer-consecutive finite value that can be represented by Self
.
sourceconst MIN_CONSECUTIVE: Self
const MIN_CONSECUTIVE: Self
Proof Definition
Self::MIN_CONSECUTIVE
is the smallest integer-consecutive finite value that can be represented by Self
.