nx_all_negative.nx
buildroot/runtime/nx_all_negative.nx
about
nx_all_negative.nx -- AUTO-GENERATED from shape `array_predicate`.
Shape: read-only scan returning 1 (predicate satisfied) or 0.
The SHORTCIRCUIT_BODY is the per-element test; the loop iterates
until exhaustion or the body returns early. DEFAULT_RETURN is
what the function returns if no element triggers short-circuit.
genealogy_id:
lineage_id: array_predicate
license: public_domain
complexity: O(n) worst case, may short-circuit
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_tier.nx
imported by: nx_all_negative_test.nx
structs
| none |
consts
| none |
functions
| 22 | func nx_all_negative(arr: *nx_int, n: nx_idx) -> nx_int called by 1: main |