Skip to content
fn

vlog_f32

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

Single-precision elementwise natural logarithm.

Computes outi=ln⁡(ini)\text{out}_i = \ln(\text{in}_i) via vvlogf. Negative or zero inputs follow IEEE rules (yield NaN / -Inf).

References

Accelerate.framework vvlogf.

Parameters

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