diff options
| author | Bart Schaefer <schaefer@zsh.org> | 2014-01-23 14:39:34 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2014-01-23 14:39:34 -0800 |
| commit | 1fc259363f56e0e7c9035d094ae581d79bf0561b (patch) | |
| tree | 403341a82fe41c5347608e4eba1eee5913d399d5 /Doc/Zsh/arith.yo | |
| parent | 32299: add use of underscores on arithmetic output for spacing (diff) | |
| download | zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.tar zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.tar.gz zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.tar.bz2 zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.tar.lz zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.tar.xz zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.tar.zst zsh-1fc259363f56e0e7c9035d094ae581d79bf0561b.zip | |
use LPAR() instead of parens in sqrt example
Diffstat (limited to 'Doc/Zsh/arith.yo')
| -rw-r--r-- | Doc/Zsh/arith.yo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index 4fff28fe2..96dc2dc68 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -92,7 +92,7 @@ point numbers, in which case the base must be omitted; grouping is away from the decimal point. For example, example(zmodload zsh/mathfunc -print $(( [#_] sqrt(1e7) ))) +print $(( [#_] sqrt+LPAR()1e7+RPAR() ))) outputs `tt(3_162.277_660_168_379_5)' (the number of decimal places shown may vary). |
