Skip to main content

rsqrt

Function rsqrt 

Source
pub fn rsqrt(fp: FpUnit, x: f32) -> f32
Expand description

1/√x for x ≥ 0: the seed from the exponent’s parity and the top six mantissa bits, then two Newton steps y·(1.5 − ½·((x·y)·y)), every intermediate near 1 so none flushes at the ends of the range.