expm1 function (Databricks SQL)

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