|
|
| No such thing as a small change | |
| PerlMonks |
perlfunc:atan2by gods |
| on Aug 24, 1999 at 22:43 UTC ( #333=perlfunc: print w/ replies, xml ) | Need Help?? |
atan2See the current Perl documentation for atan2. Here is our local, out-dated (pre-5.6) version: ![]() atan2 - arctangent of Y/X
![]() atan2 Y,X
![]() Returns the arctangent of Y/X in the range -PI to PI.
For the tangent operation, you may use the
sub tan { sin($_[0]) / cos($_[0]) }
|
|