Trait snarkvm_console_network::prelude::traits::AbsSaturating
source · pub trait AbsSaturating {
type Output;
// Required method
fn abs_saturating(self) -> Self::Output;
}
Expand description
Unary operator for retrieving the absolute value, bounding the difference to MAX
if an overflow occurs.