PostgreSQL sinh() Function
The PostgreSQL sinh()
function returns the hyperbolic sine of the specified number.
sinh()
Syntax
This is the syntax of the PostgreSQL sinh()
function:
sinh(number)
Parameters
number
-
Required. The number used to calculate hyperbolic sine.
Return value
The PostgreSQL sinh()
function returns the hyperbolic sine of the specified number.
If the parameter number
is NULL
, the sinh()
function will return NULL
.
sinh()
Examples
Here are a few examples of the sinh()
function:
SELECT
sinh(-1000) AS "sinh(-1000)",
sinh(-2.5) AS "sinh(-2.5)",
sinh(-0.2) AS "sinh(-0.2)",
sinh(0) AS "sinh(0)",
sinh(0.2) AS "sinh(0.2)",
sinh(2.5) AS "sinh(2.5)",
sinh(1000) AS "sinh(1000)";
-[ RECORD 1 ]--------------------
sinh(-1000) | -Infinity
sinh(-2.5) | -6.0502044810397875
sinh(-0.2) | -0.201336002541094
sinh(0) | 0
sinh(0.2) | 0.201336002541094
sinh(2.5) | 6.0502044810397875
sinh(1000) | Infinity