aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/gawk.texi8
-rw-r--r--doc/gawktexi.in8
3 files changed, 18 insertions, 2 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 13b6cdf3..224cddf5 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2020-11-09 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Samll improvement in strange numbers section.
+
2020-11-04 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in (Strange values): New section on NaN and infinity.
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 6c1f4091..30221b1c 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -33906,7 +33906,13 @@ that systems return NaN. Some examples:
@table @code
@item sqrt(-1)
-This makes sense in the range of complex numbers, but not in the
+@iftex
+The @math{\sqrt{-1}}
+@end iftex
+@ifnottex
+This
+@end ifnottex
+makes sense in the range of complex numbers, but not in the
range of real numbers, so the result is NaN.
@item log(-8)
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index eca3bead..98e25de6 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -32872,7 +32872,13 @@ that systems return NaN. Some examples:
@table @code
@item sqrt(-1)
-This makes sense in the range of complex numbers, but not in the
+@iftex
+The @math{\sqrt{-1}}
+@end iftex
+@ifnottex
+This
+@end ifnottex
+makes sense in the range of complex numbers, but not in the
range of real numbers, so the result is NaN.
@item log(-8)