def u32_overflowing_pow
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixedimport Base
import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as G
import bend-collections-laws-math@1.0.0.0/src/math/instances.bend as I
143def u32_overflowing_pow(+a: U32, +e: U32) -> Over<U32>:
144 OV{u32_wrapping_pow(a, e), res_bad(U32, G.pow(~U32, ~I.u32_op, ~I.u32_is, a, U32.to_nat(e)))}
Uses (8)
Used by (4)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:overflowing_pow_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:overflowing_pow_value
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u32_overflowing_pow_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u32_overflowing_pow_value