Skip to content
Ryzom Core Wiki edited this page Jul 8, 2024 · 3 revisions

title: Cosh description: published: true date: 2023-03-16T23:05:43.327Z tags: editor: markdown dateCreated: 2023-03-16T22:21:55.020Z

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.

Clone this wiki locally