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