atan2 - arctangent of Y/X in the range -PI to PI

- NAME
- SYNOPSIS
- DESCRIPTION

# NAME

atan2 - arctangent of Y/X in the range -PI to PI

# SYNOPSIS

atan2 Y,X

# DESCRIPTION

Returns the arctangent of Y/X in the range -PI to PI.

For the tangent operation, you may use the `Math::Trig::tan` function, or use the familiar relation:

        sub tan { sin($_[0]) / cos($_[0])  }

Note that atan2(0, 0) is not well-defined.

atan2 - arctangent of Y/X in the range -PI to PI