diff options
author | Araq <rumpf_a@web.de> | 2012-07-12 08:17:22 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-07-12 08:17:22 +0200 |
commit | 94013a4cff5c19ecef2dbd7a7bdcb9811c5cce4d (patch) | |
tree | 3ae9d775ae6fc8ae29f4ddd2c64984c83b7a2bec /doc | |
parent | eee99ab2725562195e7324cf8ccc521a15a0611e (diff) | |
download | Nim-94013a4cff5c19ecef2dbd7a7bdcb9811c5cce4d.tar.gz |
';' as statement separator
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/manual.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index f526d9d22..201d7be5e 100755 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -614,11 +614,11 @@ Nimrod requires `interval arithmetic`:idx: for subrange types over a set of built-in operators that involve constants: ``x mod 3`` is of type ``range[0..2]``. The following built-in operators for integers are affected by this rule: ``-``, ``+``, ``*``, ``min``, ``max``, ``succ``, -``pred``, ``mod``, ``div``, ``and`` (bitwise and). +``pred``, ``mod``, ``div``, ``and`` (bitwise ``and``). -Bitwise and only produces a ``range`` if one of its operands is a +Bitwise ``and`` only produces a ``range`` if one of its operands is a constant *x* so that (x+1) is a number of two. -(Bitwise and then behaves as a ``mod`` operation.) +(Bitwise ``and`` is then a ``mod`` operation.) This means that the following code is accepted: |