summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-04-05 10:48:49 +0200
committerAndreas Rumpf <rumpf_a@web.de>2015-04-05 10:48:49 +0200
commitd1ca5e4067cdcf688bc9b95ad932c265fe515689 (patch)
tree62d291cc9b7076efe73f61fb6eba26c4a96cfd10
parent008c12b840a11df3856fd9b31fd454d7cb9b4194 (diff)
parent0b2a7c352591cf28944d99aff3a977f43053d5f4 (diff)
downloadNim-d1ca5e4067cdcf688bc9b95ad932c265fe515689.tar.gz
Merge pull request #2452 from apense/patch-1
Update system.nim
-rw-r--r--lib/system.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index ba0690ace..d1f910715 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -704,6 +704,7 @@ proc `div` *(x, y: int32): int32 {.magic: "DivI", noSideEffect.}
 proc `div` *(x, y: int64): int64 {.magic: "DivI64", noSideEffect.}
   ## computes the integer division. This is roughly the same as
   ## ``floor(x/y)``.
+  ##
   ## .. code-block:: Nim
   ##   1 div 2 == 0
   ##   2 div 2 == 1
@@ -723,6 +724,7 @@ proc `shr` *(x, y: int16): int16 {.magic: "ShrI", noSideEffect.}
 proc `shr` *(x, y: int32): int32 {.magic: "ShrI", noSideEffect.}
 proc `shr` *(x, y: int64): int64 {.magic: "ShrI64", noSideEffect.}
   ## computes the `shift right` operation of `x` and `y`.
+  ##
   ## .. code-block:: Nim
   ##   0b0001_0000'i8 shr 2 == 0b0100_0000'i8
   ##   0b1000_0000'i8 shr 2 == 0b0000_0000'i8