C++ cmath asinh() function
Example
Return the inverse hyperbolic sine of different numbers:
cout << asinh(7);
cout << asinh(56);
cout << asinh(2.45);
Try it Yourself »
Definition and Usage
The asinh()
function returns the inverse hyperbolic sine of a number.
The asinh()
function is defined in the <cmath>
header file.
Syntax
One of the following:
asinh(double number);
asinh(float number);
Parameter Values
Parameter | Description |
---|---|
number | Required. Specifies a number. If the number is an integer type then it will be treated as a double . |
Technical Details
Returns: | A float value (if the argument is float) or double value (in any other case) representing the inverse hyperbolic sine of a number. |
---|