Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

perlfunc:atan2

by gods
on Aug 24, 1999 at 22:43 UTC ( #333=perlfunc: print w/replies, xml ) Need Help??

atan2

See 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 POSIX::tan() function, or use the familiar relation:

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

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Discipulus]: has pm some danish monk?
[Discipulus]: erix the problem was not rain in the brain.. ;=)
[erix]: I'll think about that for a bit; I'll figure it out
[erix]: (damn Discipulus for speaking in IQ tests :P )

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-11-17 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?