mathLib.atan2() システム関数は、戻り値の四分円を判別するために、 両方の引数の符号を使用して、y/x のアークタンジェントの基本値を計算します。
mathLib.atan2(
y FLOAT in,
x FLOAT in)
returns (result FLOAT)
x INT = 5;
y INT = 1;
result FLOAT = mathLib.atan2(y, x);
// 結果は 0.19739555984988078