Skip to main content

robust_complex_divide_f32

Function robust_complex_divide_f32 

Source
pub fn robust_complex_divide_f32(
    a: Complex<f32>,
    b: Complex<f32>,
) -> Complex<f32>
Expand description

Divide two Complex<f32> values by widening to Complex<f64> (Julia’s Complex{Float32} route), so the f32 squares cannot overflow.