nx_is_odd.nx
buildroot/runtime/nx_is_odd.nx
about
nx_is_odd.nx -- AUTO-GENERATED from shape `scalar_unary_op`.
Single-arg nx_int function. if (a - (a / 2) * 2) != 0 { 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_odd_test.nx
structs
| none |
consts
| none |
functions
| 18 | func nx_is_odd(a: nx_int) -> nx_int called by 1: main |