summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-05-15 10:26:35 +0100
committerPeter Stephenson <pws@zsh.org>2015-05-15 10:26:35 +0100
commit153a99de7ef473df11df2b34388c75bec2b99b36 (patch)
tree90e64c74d6dc21a802ccfb8bb2ac926e40943725
parent0da0a0b9c735c5bf0702a0f034976c01ae50fa66 (diff)
downloadzsh-153a99de7ef473df11df2b34388c75bec2b99b36.tar.gz
zsh-153a99de7ef473df11df2b34388c75bec2b99b36.tar.xz
zsh-153a99de7ef473df11df2b34388c75bec2b99b36.zip
35154: NEWS on arithmetic evaluation changes
-rw-r--r--ChangeLog2
-rw-r--r--NEWS7
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e2df6414..7acaa6f1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-05-15  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* 35154: NEWS: news on arithmetic evaluation changes.
+
 	* 35153: Src/subst.c, Test/C01arith.ztst: nested math substitution.
 
 	* 35151: Src/subst.c: improved check for both b and q flags.
diff --git a/NEWS b/NEWS
index 55b1be748..44bf6b9c0 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,13 @@ Changes from 5.0.7 to 5.0.8
   as a reference to a variable, e.g. ${(ps.$sep.)foo} to split $foo
   on a string given by $sep.
 
+- The option FORCE_FLOAT now forces variables, not just constants,
+  to floating point in arithmetic expressions.
+
+- The type of an assignment in arithmetic expressions, e.g. the
+  type seen by the variable res in $(( res = a = b )), is now
+  more logical and C-like.
+
 - The default binding of 'u' in vi command mode has changed to undo
   multiple changes when invoked repeatedly. '^R' is now bound to redo
   changes. To revert to toggling of the last edit use: