Added BiggestUInt (#5378)

This commit is contained in:
flyx 2017-02-13 11:20:07 +01:00 • committed by Andreas Rumpf
commit ac9c2126e6
3 changed files with 24 additions and 13 deletions

View file

@ -939,7 +939,7 @@ proc parseUInt*(s: string): uint {.noSideEffect, procvar,
if L != s.len or L == 0:
raise newException(ValueError, "invalid unsigned integer: " & s)
proc parseBiggestUInt*(s: string): uint64 {.noSideEffect, procvar,
proc parseBiggestUInt*(s: string): BiggestUInt {.noSideEffect, procvar,
rtl, extern: "nsuParseBiggestUInt".} =
## Parses a decimal unsigned integer value contained in `s`.
##