This module is for compiler internal use only. For reliable error messages and range checks, the compiler needs a data type that can hold all from low(BiggestInt) to high(BiggestUInt), This type is for that purpose.
Procs
proc castToInt64(arg: Int128): int64 {....raises: [], tags: [].}
- Conversion to int64 without range check. Source Edit
proc castToUInt64(arg: Int128): uint64 {....raises: [], tags: [].}
- Conversion to uint64 without range check. Source Edit
proc divMod(dividend, divisor: Int128): tuple[quotient, remainder: Int128] {. ...raises: [], tags: [].}
- Source Edit
proc maskUInt16(arg: Int128): Int128 {.noinit, inline, ...raises: [], tags: [].}
- Source Edit
proc maskUInt32(arg: Int128): Int128 {.noinit, inline, ...raises: [], tags: [].}
- Source Edit
proc maskUInt64(arg: Int128): Int128 {.noinit, inline, ...raises: [], tags: [].}
- Source Edit
proc parseDecimalInt128(arg: string; pos: int = 0): Int128 {....raises: [], tags: [].}
- Source Edit
proc toInt64Checked(arg: Int128; onError: int64): int64 {....raises: [], tags: [].}
- Source Edit