tanh

fnreal tanh(real x) @safe pure nothrow @nogc

Calculates the hyperbolic tangent of x.

x tanh(x) invalid?
±0.0 ±0.0 no
±∞ ±1.0 no
fndouble tanh(double x) @safe pure nothrow @nogc

ditto

fnfloat tanh(float x) @safe pure nothrow @nogc

ditto