Math.sinh
Math.sinh
Function
Hyperbolic sine. Returns the hyperbolic sine of value.
Syntax
Math.sinh(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 hyperbolic sine of value. An Int is returned for integer results, and a Float for non-integer or non-finite results. |
Example
result = Math.sinh(0) // Output: 0 print result
Notes
- Internally uses Rust f64's sinh operation.