#root

numeric root/numeric/numeric.vi

N32 root/numeric/N32.vi

type N32;

Natural numbers represented with 32 bits of precision.

let x = 12 + 34;
x // 46

N32 values are always in the range [0, 2^32) = [0, 4_294_967_296).

N64 root/numeric/N64.vi

struct N64((N32, N32));

Natural numbers represented with 64 bits of precision.

let x = 123456789[N64] + 9876543210[N64];
x // 9999999999

N64 values are always in the range [0, 2^64) = [0, 18_446_744_073_709_551_616).

Nat root/numeric/Nat/Nat.vi

struct Nat(...);

Arbitrary-precision natural numbers.

let x = 12[Nat] + 34[Nat];
x // 46

I32 root/numeric/I32.vi

type I32;

Int root/numeric/Int.vi

struct Int(...);

F32 root/numeric/F32/F32.vi

type F32;
  1. N32

    1. N64

      1. Nat

        1. div_rem

        2. I32

          1. Int

            1. F32

              1. parse

                1. to_string