summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/arith.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-11-12 16:55:11 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-11-12 16:55:11 +0000
commit2c16b5ccbda3bad481f0454466ce2df2fed0bdd1 (patch)
tree64eda3d318fb58206140bed3d2ca41b87f54d504 /Doc/Zsh/arith.yo
parent24089 plus tweak: fix curses on older systems (diff)
downloadzsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.tar
zsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.tar.gz
zsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.tar.bz2
zsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.tar.lz
zsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.tar.xz
zsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.tar.zst
zsh-2c16b5ccbda3bad481f0454466ce2df2fed0bdd1.zip
24093: floating point precision
Diffstat (limited to 'Doc/Zsh/arith.yo')
-rw-r--r--Doc/Zsh/arith.yo3
1 files changed, 2 insertions, 1 deletions
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