The TANH function returns the hyperbolic tangent of a value.

This function can be useful to compress raw rolling forecast signals into a normalised range, smoothing out extreme outliers over time.

TANH(Value)

ArgumentData typeDescription
ValueNumber

The numeric value for which you want to calculate the hyperbolic tangent.

The input can be any finite number.

The TANH() function returns a numeric value between -1 and 1, inclusive.

This function is only available in the Polaris Calculation Engine.

TANH(1)

Returns NaN when Angle is NaN.

FormulaResult
TANH(-2)-0.964
TANH(1)0
TANH(0.5)0.4621