-
Notifications
You must be signed in to change notification settings - Fork 96
atan
Ryzom Core Wiki edited this page Jul 8, 2024
·
2 revisions
title: Atan description: published: true date: 2023-03-16T23:05:13.010Z tags: editor: markdown dateCreated: 2023-03-16T22:21:15.888Z
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.