migrated math functions in Awk and StdAwk

This commit is contained in:
2011-05-18 08:56:54 +00:00
parent da35a4c6dc
commit 4da9a4d010
9 changed files with 578 additions and 172 deletions

View File

@ -0,0 +1,13 @@
BEGIN {
for (i = -10.0; i < 10.0; i++)
{
print sin(i);
print cos(i);
print tan(i);
print atan(i);
print atan2(i, 1);
print log(i);
print exp(i);
print sqrt(i);
}
}