Skip to main content

sqrt

Function sqrt 

Source
pub fn sqrt<T: CordicNumber>(x: T) -> Result<T>
Expand description

Square root. Domain: x ≥ 0. Uses Newton-Raphson iteration.

§Errors

Returns DomainError if x < 0.