cosh - ryzom/ryzomcore GitHub Wiki


title: Cosh description: published: true date: 2023-03-13T00:19:42.055Z tags: editor: markdown dateCreated: 2023-03-13T00:19:38.667Z

cosh

The cosh native AI script function returns the hyperbolic cosine of the input value.

Syntax

(y: f)cosh(x: f)

Arguments

  • x (float): The input value.

Return value

  • y (float): The hyperbolic cosine of x.

Example

(result)cosh(1.0);

This example code returns the value of the hyperbolic cosine of 1.0\ in variable result.

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