Skip to main content

atan2

Overloads​

NameDescription
atan2(integer y, real x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(integer y, bool x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(real y, integer x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(real y, bool x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(bool y, integer x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(real y, real x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(integer y, integer x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(bool y, real x) -> realCalculates the arctangent of the quotient of its arguments.
atan2(bool y, bool x) -> realCalculates the arctangent of the quotient of its arguments.

atan2(integer y, real x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(integer y, bool x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(real y, integer x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(real y, bool x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(bool y, integer x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(real y, real x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(integer y, integer x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(bool y, real x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.

atan2(bool y, bool x) -> real​

Calculates the arctangent of the quotient of its arguments.

Parameters​

  • y: The y-coordinate.
  • x: The x-coordinate.