nx_is_one.nx
buildroot/runtime/nx_is_one.nx
about
nx_is_one.nx -- AUTO-GENERATED from shape `scalar_unary_op`.
Single-arg nx_int function. if a == 1 { return 1 } return 0 is the imperative body.
genealogy_id:
lineage_id: scalar_unary
license: public_domain
complexity: O(1)
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_tier.nx
imported by: nx_is_one_test.nx
structs
| none |
consts
| none |
functions
| 18 | func nx_is_one(a: nx_int) -> nx_int called by 1: main |