code wiki / (root) / nx_bigint.nx

nx_bigint.nx

buildroot/runtime/nx_bigint.nx

1505 B39 linesdepth 2pulls 3 transitivereach 20 importersview sourcekind tooltopic bigint
docsdependenciesstructsconstsfunctions

about

nx_bigint.nx -- KAT GATE for the multi-precision integer primitives (nx_syscalls import chain). 2026-07-09: the bi_* primitives moved to nx_bigint_lib.nx (importable, zero-imports) -- this twin and 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 nx_syscalls chain; bigint.nx gates the syscalls.nx chain. Consumers import nx_bigint_lib.nx (transitively via this file still works). expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_bigint_lib.nx nx_bigint.nx nx_bigint_modexp.nx

imports: nx_syscalls.nxnx_bigint_lib.nx

imported by: nx_bigint_modexp.nx

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

main sys_mmap 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