diff options
author | Andrea Griffini <agriff@tin.it> | 2017-03-07 10:01:07 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-07 10:01:07 +0100 |
commit | c2630b338d6ce8e75c45bf116e8f2b687850ce4f (patch) | |
tree | 1d40569f8e91208d2b21860c2863ba151d075da1 | |
parent | 9608acf2009f09d3a7176aa8e1c5f7790f22b070 (diff) | |
download | Nim-c2630b338d6ce8e75c45bf116e8f2b687850ce4f.tar.gz |
Typo (#5495)
-rw-r--r-- | doc/manual/types.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/types.txt b/doc/manual/types.txt index c81bc042b..aed09c951 100644 --- a/doc/manual/types.txt +++ b/doc/manual/types.txt @@ -143,7 +143,7 @@ affected by this rule: ``-``, ``+``, ``*``, ``min``, ``max``, ``succ``, ``pred``, ``mod``, ``div``, ``%%``, ``and`` (bitwise ``and``). Bitwise ``and`` only produces a ``range`` if one of its operands is a -constant *x* so that (x+1) is a number of two. +constant *x* so that (x+1) is a power of two. (Bitwise ``and`` is then a ``%%`` operation.) This means that the following code is accepted: |