home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
calculat
/
sm30a.zip
/
ATAN2.KEY
< prev
next >
Wrap
Text File
|
1993-11-07
|
325b
|
9 lines
* atan2 internal
atan2(x,y) returns the radian angle of (x,y).
atan2(x,y) = sign(y)*pi/2 if x=0
= atan(y/x) if x>0
= atan(y/x)+pi if x<0, y>=0
= atan(y/x)-pi if x<0, y<0 .
Thus atan2(x,y) takes its value of -pi < atan2(x,y) <= pi.
See also: atan, arg.