asin - ryzom/ryzomcore GitHub Wiki


title: Asin description: published: true date: 2023-03-12T22:07:59.526Z tags: editor: markdown dateCreated: 2023-03-12T22:07:56.694Z

asin

The asin function returns the arcsine of an input value.

Syntax

(y: f)asin(x: f)

Arguments

  • x (float): The input value.

Return value

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

Example

(y)asin(0.5f);

This example code calculates the arcsine of 0.5 and stores the result in the variable y.

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