From 1fc259363f56e0e7c9035d094ae581d79bf0561b Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 23 Jan 2014 14:39:34 -0800 Subject: use LPAR() instead of parens in sqrt example --- Doc/Zsh/arith.yo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doc/Zsh/arith.yo') 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). -- cgit 1.4.1