Perl version

Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

atan2

Perl 5 version 10.0 documentation
Recently read

atan2

  • atan2 Y,X

    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:

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

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