Math.asinh
Math.asinh
Function
Inverse hyperbolic sine. Returns the inverse hyperbolic sine of value.
Syntax
Math.asinh(value)
Parameters
| Parameters | Type | Required | Default value | Description |
|---|---|---|---|---|
| value | Number | Yes | None | The number involved in the calculation. |
Return value
| Type | Description |
|---|---|
| Int/Float | Returns the inverse hyperbolic sine of value. An Int is returned for integer results, and a Float for non-integer or non-finite results. |
Example
result = Math.asinh(0) // Output: 0 print result
Notes
- Internally uses Rust f64's asinh operation.