aztec-nr - protocol_types::utils::field

Function sqrt

pub fn sqrt(x: Field) -> Option<Field>

Returns Option::some(sqrt) if there is a square root, and Option::none() if there isn't.