aboutsummaryrefslogtreecommitdiffstats
path: root/doc/awkcard.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-07-10 16:32:44 -0700
committerArnold D. Robbins <arnold@skeeve.com>2014-07-10 16:32:44 -0700
commitdf2eaea6a92c7d89d604d0a4e885d064678ce3ed (patch)
tree127610b11382d876d1be2ebce2f770d60147788b /doc/awkcard.in
parent21606db0d06b91332b1514f6662f7bc6d414e54e (diff)
downloadegawk-df2eaea6a92c7d89d604d0a4e885d064678ce3ed.tar.gz
egawk-df2eaea6a92c7d89d604d0a4e885d064678ce3ed.tar.bz2
egawk-df2eaea6a92c7d89d604d0a4e885d064678ce3ed.zip
Add div() function for integer division & remainder.
Diffstat (limited to 'doc/awkcard.in')
-rw-r--r--doc/awkcard.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/awkcard.in b/doc/awkcard.in
index ca28f0a7..556bdc1e 100644
--- a/doc/awkcard.in
+++ b/doc/awkcard.in
@@ -1609,6 +1609,9 @@ expand;
l lw(2i).
\*(CD\*(FCatan2(\*(FIy\*(FC, \*(FIx\*(FC)\*(FR The arctangent of \*(FIy/x\fP in radians.
\*(FCcos(\*(FIexpr\*(FC)\*(FR The cosine of \*(FIexpr\fP, which is in radians.
+\*(CB\*(FCdiv(\*(FIn\*(FR\*(FC,\*(FI d\*(FR\*(FC,\*(FI res\*(FR\*(FC)\*(FR T{
+Return the result of integer division in \*(FIres\*(FR.\*(CD
+T}
\*(FCexp(\*(FIexpr\*(FC)\*(FR The exponential function (\*(FIe \*(FC^ \*(FIx\*(FR).
\*(FCint(\*(FIexpr\*(FC)\*(FR Truncate to integer.
\*(FClog(\*(FIexpr\*(FC)\*(FR The natural logarithm function (base \*(FIe\^\*(FR).