expm1

e^a - 1 (hint_math).

ScalarDeterministic

Flags

Flag Value
Kind scalar
Nulls a null argument gives null
Deterministic yes
Order matters no
Decomposable no

Example

A pipeline from the language's tested corpus that uses expm1, over the example tables.

Hint
from orders
filter price > 0e0
derive {s = sqrt(price), e = exp(1e-3), l = ln(price), l1 = ln_1p(price), em = expm1(1e-3)}

In a plan:

JSON
{
  "args": [
    {
      "lit": 0.001,
      "type": {
        "kind": "float64"
      }
    }
  ],
  "fn": "expm1"
}