aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-08-24 10:20:47 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-08-24 10:20:47 +0300
commite71664615529f419082b373ea7e44c35b0595a97 (patch)
tree4283e1c2e277b6ece6cb29016dda0cfcb2022b31 /doc/gawktexi.in
parent886abd96488a120c196eddaf5db7943ff1b565e8 (diff)
downloadegawk-e71664615529f419082b373ea7e44c35b0595a97.tar.gz
egawk-e71664615529f419082b373ea7e44c35b0595a97.tar.bz2
egawk-e71664615529f419082b373ea7e44c35b0595a97.zip
Doc update, fix a FIXME.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 30e527d5..0ec97419 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -11644,9 +11644,14 @@ One possibly undesirable effect of this definition of remainder is that
-17 % 8 = -1
@end example
+@noindent
+This definition is compliant with the POSIX standard, which says that the @code{%}
+operator produces results equivalent to using the standard C
+@code{fmod()} function, and that function in turn works as just
+described.
+
In other @command{awk} implementations, the signedness of the remainder
may be machine-dependent.
-@c FIXME !!! what does posix say?
@cindex portability @subentry @code{**} operator and
@cindex @code{*} (asterisk) @subentry @code{**} operator