def nrp_exp
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64import Base
171def nrp_exp(+e: Nat, +sd: Nat, z: Bool) -> Nat:
172 match z:
173 case True{}:
174 0n
175 case False{}:
176 Nat.sub(Nat.sub(e, sd), off())
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64import Base
171def nrp_exp(+e: Nat, +sd: Nat, z: Bool) -> Nat:
172 match z:
173 case True{}:
174 0n
175 case False{}:
176 Nat.sub(Nat.sub(e, sd), off())