bugfix: typo in unsigned.nim; fixes #234
This commit is contained in:
parent
3f7a9e9b47
commit
e80af878b9
2 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ proc `mod`*[T: SomeUInt](x, y: T): T {.magic: "ModU", noSideEffect.}
|
|||
## computes the integer modulo operation. This is the same as
|
||||
## ``x - (x div y) * y``.
|
||||
|
||||
proc `<=`*[T: SomeUInt](x, y: SomeUInt): bool {.magic: "LeU", noSideEffect.}
|
||||
proc `<=`*[T: SomeUInt](x, y: T): bool {.magic: "LeU", noSideEffect.}
|
||||
## Returns true iff ``x <= y``.
|
||||
|
||||
proc `<`*[T: SomeUInt](x, y: T): bool {.magic: "LtU", noSideEffect.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue