Pelago
Core typesPrimitive types

uint

uint is another name for uint64.

uint is the same type as uint64: the unsigned machine integer, from 0 to 18446744073709551615. Everything on the uint64 page applies.

fn main() {
    const a: uint = 18446744073709551615
    const b: uint64 = a
    print("#(a == b) #(a +% 1)")
}
true 0

uint64, Primitive types

On this page