about summary refs log tree commit diff
diff options
context:
space:
mode:
-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: