SINH()

All functions > MATH > SINH()

Returns the hyperbolic sine of a number.

Signatures

Hyperbolic sine

Returns: Hyperbolic sine

SINH(number: T) → DOUBLE
sql
ParameterTypeRequiredDescription
numberTYesAny floating-point number

With:

  • T : Floating-point type (FLOAT, DOUBLE)

Signature notes:

  • Definition: SINH(x) = (e^x - e^(-x)) / 2
  • Odd function: SINH(-x) = -SINH(x)
  • Returns NULL if the input is NULL

Examples

FeatureQL
SELECT
    -- sinh(0) = 0
    f1 := SINH(0e0),
    -- sinh(1)
    f2 := SINH(1e0),
    -- Odd function
    f3 := SINH(-1e0),
    -- sinh(2)
    f4 := SINH(2e0)
;
Result
f1 VARCHARf2 VARCHARf3 VARCHARf4 VARCHAR
0.01.1752011936438014-1.17520119364380143.6268604078470186

Last update at: 2026/06/20 10:08:10