expm1 function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns exp(expr) - 1.

Syntax

expm1(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

Examples

> SELECT expm1(0);
 0.0