system.nim: Fix documentation ( 7 div 5 == 1 ) (#6057)
This commit is contained in:
parent
9e12db4459
commit
6c708038c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue