From 153a99de7ef473df11df2b34388c75bec2b99b36 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 15 May 2015 10:26:35 +0100 Subject: 35154: NEWS on arithmetic evaluation changes --- ChangeLog | 2 ++ NEWS | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8e2df6414..7acaa6f1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-05-15 Peter Stephenson + * 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: -- cgit 1.4.1