diff options
author | Peter Stephenson <pws@zsh.org> | 2014-11-26 17:26:58 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2014-11-26 17:26:58 +0000 |
commit | a8927bf27b57a1f49d525f628a97de9c1fce710b (patch) | |
tree | 909779151c4a6b93822e69fe0faff133ea66e7d9 /Doc/Zsh/arith.yo | |
parent | c4110f7f4eac347fdbce71c286659a77beb138f7 (diff) | |
download | zsh-a8927bf27b57a1f49d525f628a97de9c1fce710b.tar.gz zsh-a8927bf27b57a1f49d525f628a97de9c1fce710b.tar.xz zsh-a8927bf27b57a1f49d525f628a97de9c1fce710b.zip |
33793: add 0b binary interpretation to integer constants
Diffstat (limited to 'Doc/Zsh/arith.yo')
-rw-r--r-- | Doc/Zsh/arith.yo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index 96dc2dc68..a620b73d1 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -39,7 +39,8 @@ zero status. cindex(arithmetic base) cindex(bases, in arithmetic) Integers can be in bases other than 10. -A leading `tt(0x)' or `tt(0X)' denotes hexadecimal. +A leading `tt(0x)' or `tt(0X)' denotes hexadecimal and a leading +`tt(0b)' or `tt(0B) binary. Integers may also be of the form `var(base)tt(#)var(n)', where var(base) is a decimal number between two and thirty-six representing the arithmetic base and var(n) |