code wiki / (root) / bigint.nx

bigint.nx

buildroot/runtime/bigint.nx

1506 B39 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind tooltopic bigint
docsdependenciesstructsconstsfunctions

about

bigint.nx -- KAT GATE for the multi-precision integer primitives (syscalls.nx import chain). 2026-07-09: the bi_* primitives moved to nx_bigint_lib.nx (importable, zero-imports) -- this twin and nx_bigint.nx were code-identical and BOTH carried main(), making the primitives unimportable into any main-bearing binary. This file keeps the ORIGINAL smoke battery as the standing gate on the syscalls.nx chain (the syscall-module duality's other side); nx_bigint.nx gates the nx_syscalls chain. Consumers import nx_bigint_lib.nx. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

syscalls.nx nx_bigint_lib.nx bigint.nx

imports: syscalls.nxnx_bigint_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main bi_zero bi_add bi_mul bi_zero ↻ bi_from_bytes_be bi_zero ↻ bi_to_bytes_be

structs

none

consts

none

functions

12func main() -> i64