Skip to content
fn

vrec_f32

void vrec_f32(const float * in, float * out, int n)

Single-precision reciprocal outi=1/ini\text{out}_i = 1 / \text{in}_i, correctly rounded. A plain loop: vvrecf is not correctly rounded (see Vforce.cpp).

Parameters

inconst float*
Input buffer.
outfloat*
Output buffer.
nstd::size_t
Element count.