Skip to content
fn

vtanh_f64

void vtanh_f64(const double * in, double * out, int n)

Double-precision elementwise tanh. Uses vvtanh, with ∣x∣≤1.35×10−8|x| \le 1.35 \times 10^{-8} set back to x.

References

Accelerate.framework vvtanh.

Parameters

inconst double*
Input buffer.
outdouble*
Output buffer.
nstd::size_t
Element count.