about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-09-23 20:47:42 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-09-23 20:47:42 +0100
commitb603137911fbbacd1f1e99ad1a4e07d9ae76e287 (patch)
treeb167e61b4b9a1f31839f5a11b10ed91115b9865e /NEWS
parent9b638398b46f465f91683e996ff24e4fb34640cb (diff)
downloadzsh-b603137911fbbacd1f1e99ad1a4e07d9ae76e287.tar.gz
zsh-b603137911fbbacd1f1e99ad1a4e07d9ae76e287.tar.xz
zsh-b603137911fbbacd1f1e99ad1a4e07d9ae76e287.zip
unposted: mention numeric output with underscore separators
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3188e2c5c..e08c5c346 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,11 @@ Changes since 5.0.0
 - Numeric constants encountered in mathematical expressions (but not other
   contexts) can contain underscores as separators that will be ignored on
   evaluation, as allowed in other scripting languages.  For example,
-  0xFFFF_FFFF, or 3.141_592_654.
+  0xFFFF_FFFF, or 3.141_592_654.  From 5.0.6 this is also available
+  in output, e.g.
+    setopt cbases
+    zmodload zsh/mathfunc
+    print $(( [#16_4] 2**32 - 1 )) $(( [#_3] 4 * atan(1.0) )) 
  
 - "functions -T" turns on tracing for the specified function(s) only,
   similar to "functions -t" except that tracing is turned off for any