sinh - ryzom/ryzomcore GitHub Wiki


title: Sinh description: published: true date: 2023-03-12T22:41:29.502Z tags: editor: markdown dateCreated: 2023-03-12T22:20:01.469Z

sinh

The sinh native AI script function returns the hyperbolic sine of an input value.

Syntax

(y: f)sinh(x: f)

Arguments

  • x (float): The input value.

Return value

  • y (float): The result of the hyperbolic sine operation.

Example

(y)sinh(2.0f);

This example code calculates the hyperbolic sine of 2.0 and stores the result in the variable y.

⚠️ **GitHub.com Fallback** ⚠️