Skip to content
fn

vdiv_f32

void vdiv_f32(const float * a, const float * b, float * out, int n)

Single-precision elementwise vector division, correctly rounded. A plain loop: vDSP_vdiv is not correctly rounded on macOS 26 (see Vdsp.cpp).

Parameters

a, bconst float*
Numerator and denominator buffers.
outfloat*
Output buffer.
nstd::size_t
Element count.