From 6c708038c1d4667fb5d4f84ae60873c3077f53aa Mon Sep 17 00:00:00 2001 From: nonylene Date: Thu, 6 Jul 2017 15:03:24 +0900 Subject: [PATCH] system.nim: Fix documentation ( 7 div 5 == 1 ) (#6057) --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 0e94bcc231..df0703ec89 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1068,7 +1068,7 @@ proc `div`*[T: SomeUnsignedInt](x, y: T): T {.magic: "DivU", noSideEffect.} ## ``floor(x/y)``. ## ## .. code-block:: Nim - ## (7 div 5) == 2 + ## (7 div 5) == 1 proc `mod`*[T: SomeUnsignedInt](x, y: T): T {.magic: "ModU", noSideEffect.} ## computes the integer modulo operation (remainder).