Formualizer Docs
ReferenceFunctionsMath Functions

TANH

TANH: Returns the hyperbolic tangent of a number.

Summary

TANH computes SINH(x) / COSH(x).

Remarks

  • Domain: accepts any real number.
  • Radians: this function is hyperbolic, so the input is not treated as an angle in radians.
  • Errors: no function-specific domain errors are produced.

Examples

Hyperbolic tangent at zero
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
0
Hyperbolic tangent at two
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
0.9640275800758169

FAQ

What output range should TANH produce?

For real inputs, TANH stays strictly between -1 and 1.

Runtime metadata

Category

Math

Signature

TANH(arg1: Number)

Arity

min 1, max 1

Arguments

arg1

Number · Scalar · coercion NumberLenientText

Caps

PUREELEMENTWISENUMERIC_ONLY

Source

On this page