code wiki / (root) / nx_fx_f64_nan.nx

nx_fx_f64_nan.nx

buildroot/runtime/nx_fx_f64_nan.nx

1302 B23 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic fx
docsdependenciesstructsconstsfunctions

about

nx_fx_f64_nan.nx -- LN38 fixture: IEEE-754 unordered compares. Every ordered predicate on a NaN operand is FALSE and != is TRUE; ordinary ordered compares keep their answers. Exit 0 iff every check holds, else a bitmask naming the failing checks (bit k = check k). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_fx_f64_nan.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main fx_id fx_nan

structs

none

consts

none

functions

5func fx_nan(z: f64) -> f64 { return z / z }
called by 1: main
6func fx_id(x: f64) -> f64 { return x }
called by 1: main
7func main() -> i64
calls 2: fx_idfx_nan