code wiki / _hdl_build / nx_unitconv_gate.nx
nx_unitconv_gate.nx
buildroot/runtime/_hdl_build/nx_unitconv_gate.nx
about
nx_unitconv_gate.nx -- benchmark the measurement-systems organ against the INTERNATIONAL DEFINITIONS and the
historic unit-disaster cases. Teeth are exact integers from the 1959 yard£ agreement + UK Weights and
Measures. Includes: exact round-trips across systems, the twin fx256 grid, UK-vs-US gallon divergence, the
US-survey-foot 2ppm trap, the MARS CLIMATE ORBITER lbf-s/N-s factor, the GIMLI GLIDER lb/kg fuel case, LOUD
dimension-mismatch refusal (neg-control), and the exactness-remainder honesty machinery. expect_exit: 0
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_unitconv.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func ug_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 10 | func ug_putn(v: i64) -> i64 |
| 23 | func ug_tooth(name: *u8, pass: i64, fails: *i64) -> i64 |
| 31 | func main() -> i64 |