Klang C++ 0.7.15
Language Reference (draft)
Loading...
Searching...
No Matches
atanh

Language Guide / Functions · Generated namespace reference

atanh

klang::atanh

Inverse hyperbolic tangent.

Keep the input strictly between −1 and 1.

-0.95-1.83-0.475-0.916000.4750.9160.951.83ResultInput x
atanh(x)

Based on std::atanh.

Direct call

const signal expanded = atanh(clamp(sample, -0.9, 0.9));

Signal flow

const signal expanded = clamp(sample, -0.9, 0.9) >> atanh;