diff options
author | Peter Stephenson <pws@zsh.org> | 2015-01-15 13:52:08 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-01-15 13:52:40 +0000 |
commit | 3a99ef322dafcd2cf833b2a0668436ac120df1b3 (patch) | |
tree | 1572509835aab319e5f89ed239d12a3d19518a25 /Doc/Zsh | |
parent | c7aa6443907ddd97b6b1e8729ce9c897de0d244c (diff) | |
download | zsh-3a99ef322dafcd2cf833b2a0668436ac120df1b3.tar.gz zsh-3a99ef322dafcd2cf833b2a0668436ac120df1b3.tar.xz zsh-3a99ef322dafcd2cf833b2a0668436ac120df1b3.zip |
34280: more widespread use of FORCE_FLOAT.
Add the case of variables read for use in arithmetic expressions.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/options.yo | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 076aaf44f..8a0222cfd 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -496,9 +496,10 @@ pindex(NOFORCEFLOAT) cindex(floating point, forcing use of) cindex(forcing use of floating point) item(tt(FORCE_FLOAT))( -Constants in arithmetic evaluation will be treated as floating point -even without the use of a decimal point. Integers in any base -will be converted. +Constants in arithmetic evaluation will be treated as +floating point even without the use of a decimal point; the +values of integer variables will be converted to floating point when +used in arithmetic expressions. Integers in any base will be converted. ) pindex(GLOB) pindex(NO_GLOB) |