Computes the hyperbolic tangent of an input value for a hyperbolic angle measured in radians. The value can be a Decimal or Integer literal or a reference to a column containing numeric values. |

A **hyperbola** is the shape created by taking a planar slice of two cones whose tips are touching each other. For two identical cones, the curves of the slices mirror each other, no matter the angle of the plane through the cones.

The two slices represent the set of points on a grid such that:

where

`k`

is some constant.- The hyperbolic trigonometric functions measure trigonometric calculations for the right-side (x > 0) slice of the hyperbola.
- For more information, see https://en.wikipedia.org/wiki/Hyperbola.

The hyperbolic tangent (TANH) function is computed using the following formula:

**Hyperbolic cotangent:**

The hyperbolic cotangent is the following:

You can convert from degrees to radians. For more information, see RADIANS Function.

**Numeric literal example:**

round(tanh(radians(30)),3) |

**Output:** Returns the computation of the hyperbolic tangent of a 30-degree angle, which is converted to radians before being passed to the `TANH`

function. The output value is rounded to three decimals: `0.548`

.

**Column reference example:**

tanh(X) |

**Output:** Returns the hyperbolic tangent of the radians values in `X`

column.

tanh(numeric_value) |

Argument | Required? | Data Type | Description |
---|---|---|---|

numeric_value | Y | string, decimal, or integer | Name of column, Decimal or Integer literal, or function returning those types to apply to the function |

Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.

- Missing input values generate missing results.
- Literal numeric values should not be quoted. Quoted values are treated as strings.
- Multiple columns and wildcards are not supported.

Required? | Data Type | Example Value |
---|---|---|

Yes | String (column reference) or Integer or Decimal literal | `0.5` |