home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / sm30a.zip / ATAN2.KEY < prev    next >
Text File  |  1993-11-07  |  325b  |  9 lines

  1. * atan2                                               internal
  2. atan2(x,y) returns the radian angle of (x,y).
  3.   atan2(x,y)    = sign(y)*pi/2   if x=0
  4.         = atan(y/x)     if x>0
  5.         = atan(y/x)+pi  if x<0, y>=0
  6.         = atan(y/x)-pi  if x<0, y<0 .
  7. Thus atan2(x,y) takes its value of -pi < atan2(x,y) <= pi.
  8. See also: atan, arg.
  9.