home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / sm30a.zip / ARG.(X) < prev    next >
Text File  |  1993-10-16  |  239b  |  7 lines

  1. #    arg(x) give the arguement (phase angle) of x in radians. Its value is
  2. #    -pi < arg(x) <= pi. arg(x)=atan2(re(x),im(x)). For positive real x,
  3. #    arg(x)=0.
  4. #    See also: abs, sign, atan2.
  5.  
  6. arg(x_) := if(isnumber(x), atan2(re(x),im(x)))
  7.