# Crate ieee_apsqrt

source ·## Expand description

Performs square root operations on IEEE 754 single, double, and quad
precision floats using `rustc_apfloat`

. See the readme for more
background.

## Functions

- Calculate the square root of the given floating point bits, with the given rounding mode. Results are completely accurate, but each iteration is twice as costly as with
`sqrt_fast`

. Returns the result, and the number of Newton-Raphson iterations that were needed. Can operate on`u32`

or`u64`

values, which are interpreted as the bit representations of IEEE 754 single- and double-precision floats, respectively. - Calculate the square root of the given floating point bits, with the given rounding mode. Results are accurate to within 2 ulps. Returns the result, and the number of Newton-Raphson iterations that were needed. Can operate on
`u32`

,`u64`

, or`u128`

values, which are interpreted as the bit representations of IEEE 754 single-, double-, and quad-precision floats, respectively.