home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / a / bin / gawk-2.15 / gawk-2 / gawk-2.15.6 / test / sqrt.awk < prev    next >
Encoding:
AWK Script  |  1993-10-19  |  106 b   |  5 lines

  1. BEGIN {
  2.     for (i = 0; i <= 25; i++)
  3.     printf "gawk sez -- square root of %2d is %15.12f\n", i, sqrt(i)
  4. }
  5.