def fixm

bend-osdev-gf@0.1.1.0 · PROOF.bend:7556

import bend-osdev-gf@0.1.1.0/PROOF.bend as PROOF
import Base

7556# a nonzero element as itself, and 0 as 1
7557def fixm(+x: U32) -> U32:
7558  Bool.pick(U32, U32.is_eq(x, 0), 1, x)

Uses (3)

Used by (10)