asinh()
data22944095104 total contributions
Published Oct 18, 2023
Contribute to Docs
The asinh()
function returns the inverse hyperbolic sine of a number.
Syntax
asinh(x)
The function accepts one mandatory parameter x
. It can be any value i.e., negative
, positive
, or zero
. The argument can be of Double
, Float
or Long
datatype.
The function returns the inverse hyperbolic sine of the argument. The return value will be of the same type as the argument.
Example
The example below demonstrates how to use the method to return the value of the inverse hyperbolic sine of 1.0
.
import kotlin.math.asinhfun main() {// Calculate the inverse hyperbolic sine of 1.0val result = asinh(1.0)// Print the resultprintln(result)}
The output will be:
0.881373587019543
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.