diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-11-26 04:01:46 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-11-26 04:01:46 +0000 |
commit | 860be3d5358e852c2cd70004fb0a8ffccb939344 (patch) | |
tree | 15821e8511dc5851313cc550c0d83028671fe203 /Doc/Zsh | |
parent | 27b59c6b31ecbe007ea4ed09b0019eff78bcf5f3 (diff) | |
download | zsh-860be3d5358e852c2cd70004fb0a8ffccb939344.tar.gz zsh-860be3d5358e852c2cd70004fb0a8ffccb939344.tar.xz zsh-860be3d5358e852c2cd70004fb0a8ffccb939344.zip |
Merge of 24093: floating point precision.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/arith.yo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index 72188099b..eb817a3b0 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 |