fixes isNegative only for signed integer

This commit is contained in:
andri lim 2019-10-22 17:16:21 +07:00 committed by zah
parent 07411e31a5
commit 962932dd6a
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func isZero*(x: SomeBigInteger): bool {.inline.} =
## false otherwise
x.data.isZero
func isNegative*(x: SomeBigInteger): bool {.inline.} =
func isNegative*(x: Stint): bool {.inline.} =
## Returns true if input is negative (< 0)
## false otherwise
x.data.isNegative