SINH()
All functions > MATH > SINH()
Returns the hyperbolic sine of a number.
Signatures
Hyperbolic sine
Returns: Hyperbolic sine
SINH(number: T) → DOUBLE sql
| Parameter | Type | Required | Description |
|---|---|---|---|
number | T | Yes | Any 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 VARCHAR | f2 VARCHAR | f3 VARCHAR | f4 VARCHAR |
|---|---|---|---|
| 0.0 | 1.1752011936438014 | -1.1752011936438014 | 3.6268604078470186 |
On this page