-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement functions: sinh / cosh / tanh / asinh / acosh / atanh #9675
Comments
SyntaxCOSH(dp DOUBLE PRECISION) → DOUBLE PRECISION DescriptionThe Parameters
ReturnsThe function returns a ExamplesSELECT COSH(0.0); -- Returns 1
SELECT COSH(1.0); -- Returns approximately 1.543081
SELECT COSH(-1.0); -- Returns approximately 1.543081 In these examples, the |
SyntaxTANH(dp DOUBLE PRECISION) → DOUBLE PRECISION DescriptionThe Parameters
ReturnsThe function returns a ExamplesSELECT TANH(0.0); -- Returns 0
SELECT TANH(1.0); -- Returns approximately 0.761594
SELECT TANH(-1.0); -- Returns approximately -0.761594 In these examples, the |
SyntaxASINH(dp DOUBLE PRECISION) → DOUBLE PRECISION DescriptionThe Parameters
ReturnsThe function returns a ExamplesSELECT ASINH(0.0); -- Returns 0
SELECT ASINH(1.0); -- Returns approximately 0.881374
SELECT ASINH(-1.0); -- Returns approximately -0.881374 In these examples, the |
SyntaxACOSH(dp DOUBLE PRECISION) → DOUBLE PRECISION DescriptionThe Parameters
ReturnsThe function returns a ExamplesSELECT ACOSH(1.0); -- Returns 0
SELECT ACOSH(2.0); -- Returns approximately 1.316958
SELECT ACOSH(3.0); -- Returns approximately 1.762747 In these examples, the |
SyntaxATANH(dp DOUBLE PRECISION) → DOUBLE PRECISION DescriptionThe Parameters
ReturnsThe function returns a ExamplesSELECT ATANH(0.0); -- Returns 0
SELECT ATANH(0.5); -- Returns approximately 0.549306
SELECT ATANH(-0.5); -- Returns approximately -0.549306 In these examples, the |
Is your feature request related to a problem? Please describe.
Syntax
Description
The
sinh
function in Postgres is used to compute the hyperbolic sineof a given number, which must be a
DOUBLE PRECISION
value. The resultis a
DOUBLE PRECISION
value representing the hyperbolic sine of theinput number.
Parameters
dp
(DOUBLE PRECISION): The input number for which to compute thehyperbolic sine.
Returns
The function returns a
DOUBLE PRECISION
value, which is the hyperbolicsine of the input number.
Examples
In these examples, the
sinh
function computes the hyperbolic sine ofthe given input numbers.
The text was updated successfully, but these errors were encountered: