10000 atan · ryzom/ryzomcore Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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

atan

The atan native AI script function returns the arctangent of the input value.

Syntax

(y: f)atan(x: f)

Arguments

  • x (float): The input value.

Return value

  • y (float): The arctangent of the input value.

Examples

(y)atan(x);

This example code calculates the arctangent of the value x and stores the result in y.

Notes

The arctangent function returns the angle whose tangent is the input value. The result is expressed in radians.

Clone this wiki locally
0