Skip to main content

div_f32

Function div_f32 

Source
pub fn div_f32(z: Complex<f32>, w: Complex<f32>) -> Complex<f32>
Expand description

The quotient of two float _Complex values (C99 6.5.5, Annex G.5.1).

The closed form, computed in f64: c² + d² is exact enough and can neither overflow nor underflow there for any f32 operands, so no scaling is needed and the result is rounded exactly once.