atan - ryzom/ryzomcore GitHub Wiki
title: Atan description: published: true date: 2023-03-13T13:48:32.138Z tags: editor: markdown dateCreated: 2023-03-13T13:48:32.138Z
The atan native AI script function returns the arctangent of the input value.
(y: f)atan(x: f)
- x (float): The input value.
- y (float): The arctangent of the input value.
(y)atan(x);
This example code calculates the arctangent of the value x
and stores the result in y
.
The arctangent function returns the angle whose tangent is the input value. The result is expressed in radians.