summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDennis Felsing <dennis@felsin9.de>2015-12-07 17:58:58 +0100
committerDennis Felsing <dennis@felsin9.de>2015-12-07 17:58:58 +0100
commitca47256efacf8cad6030c86ce02965cce66e6b37 (patch)
tree346bf745236127f3629ae034459868749e9c1e3f
parent5c0ffa661347300c333096d22e056df4e07b08ca (diff)
parentf3d578245bfa7c2a8ee171f37b168c8d8d3d8925 (diff)
downloadNim-ca47256efacf8cad6030c86ce02965cce66e6b37.tar.gz
Merge pull request #3627 from xiongxin/devel
7 div 5 == 1
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index ce7687c34..bb8254364 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -840,7 +840,7 @@ proc `div` *(x, y: int32): int32 {.magic: "DivI", noSideEffect.}
   ##   1 div 2 == 0
   ##   2 div 2 == 1
   ##   3 div 2 == 1
-  ##   7 div 5 == 2
+  ##   7 div 5 == 1
 
 when defined(nimnomagic64):
   proc `div` *(x, y: int64): int64 {.magic: "DivI", noSideEffect.}