nx_f32_encode_test.nx
buildroot/runtime/nx_f32_encode_test.nx
about
nx_f32_encode_test.nx -- KAT gate: integer -> IEEE-754 single bit pattern,
against hand-verified reference values. Also round-trips through nx_f32's
decoder fields (sign/exp) as a cross-check. expect_exit: 0.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_f32_encode.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
| 8 | func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 9 | func wn(v: i64) -> i64 |
| 18 | func chk(cond: i64, pass: *i64, fail: *i64, label: *u8) -> i64 |
| 24 | func main() -> i64 |