pub trait AbsChecked {
    type Output;

    fn abs_checked(self) -> Self::Output;
}
Expand description

Unary operator for retrieving the absolute value, enforcing an overflow never occurs.

Required Associated Types§

Required Methods§

Trait Implementations§

Returns the number of constants, public inputs, private inputs, and constraints.
Returns the mode of the output.

Implementations on Foreign Types§

Returns the absolute value of self.

Implementors§