SINH
All functions > MATH > SINH
Returns the hyperbolic sine of a number.
Signatures
Returns: Hyperbolic sine result
SINH(number: T) → DOUBLE sql
| Parameter | Type | Required | Description |
|---|---|---|---|
number | T | Yes | Any real number (DOUBLE) |
Notes
- Definition:
SINH(x) = (e^x - e^(-x)) / 2 SINH(0) = 0- Odd function:
SINH(-x) = -SINH(x) - Grows exponentially for large |x|
- Related to regular sine but for hyperbolic geometry
- Can be positive or negative depending on input sign
- Returns NULL if input is NULL
Examples
FeatureQL
SELECT
f1 := SINH(0e0), -- Hyperbolic sine of 0 is 0
f2 := SINH(1e0), -- Hyperbolic sine of 1
f3 := SINH(-1e0), -- Odd function: SINH(-1) = -SINH(1)
f4 := SINH(2e0) -- Hyperbolic sine of 2
;Result
| f1 VARCHAR | f2 VARCHAR | f3 VARCHAR | f4 VARCHAR |
|---|---|---|---|
| 0.0 | 1.1752011936438014 | -1.1752011936438014 | 3.6268604078470186 |
On this page