snarkvm_console_types_field

Trait SquareRoot

Source
pub trait SquareRoot {
    type Output;

    // Required method
    fn square_root(&self) -> Result<Self::Output, Error>;
}
Expand description

Unary operator for retrieving the square root of the value.

Required Associated Types§

Required Methods§

Source

fn square_root(&self) -> Result<Self::Output, Error>

Implementors§