sinh - ryzom/ryzomcore GitHub Wiki


title: Sinh description: published: true date: 2023-03-16T23:11:46.984Z tags: editor: markdown dateCreated: 2023-03-16T22:29:40.821Z

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** ⚠️