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
    f1 := SINH(0E0), -- sinh(0) = 0
    f2 := SINH(1E0), -- sinh(1)
    f3 := SINH(-1E0), -- Odd function
    f4 := SINH(2E0) -- sinh(2)
;
Result
f1 VARCHARf2 VARCHARf3 VARCHARf4 VARCHAR
0.01.1752011936438014-1.17520119364380143.6268604078470186

Last update at: 2026/05/26 17:22:09