about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/arith.yo3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f712e8283..d85b23ae9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-11-12  Peter Stephenson  <pws@csr.com>
 
+	* 24093: Doc/Zsh/arith.yo: be more accurate about supported
+	floating point.
+
 	* 24089: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
 	compilation on non-curses system; also (unposted) avoid crash
 	decoding color when not supported.
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo
index 98e83c1ae..d7f1ae608 100644
--- a/Doc/Zsh/arith.yo
+++ b/Doc/Zsh/arith.yo
@@ -12,7 +12,8 @@ integers, the shell is usually compiled to use 8-byte precision where this
 is available, otherwise precision is 4 bytes.  This can be tested, for
 example, by giving the command `tt(print - $(( 12345678901 )))'; if the
 number appears unchanged, the precision is at least 8 bytes.  Floating
-point arithmetic is always double precision.
+point arithmetic always uses the `double' type with whatever corresponding
+precision is provided by the compiler and the library.
 
 The tt(let) builtin command takes arithmetic expressions as arguments; each
 is evaluated separately.  Since many of the arithmetic operators, as well