Skip to content
fn

vtan_f32

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

Single-precision elementwise tangent.

Computes outi=tan⁡(ini)\text{out}_i = \tan(\text{in}_i) via vvtanf, with ∣x∣≤3.52×10−4|x| \le 3.52 \times 10^{-4} (and -0) set back to x.

References

Accelerate.framework vvtanf.

Parameters

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