home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / compcomp / awk / atan2.awk < prev    next >
Encoding:
Text File  |  1990-02-08  |  136 b   |  4 lines

  1. # calculate and print the arctan of two sides of a triangle useing atan2
  2.  
  3. { printf ("atan2(%g, %g) = %g\n", $1, $2, atan2($1, $2)) }
  4.