def u64_overflowing_pow

bend-collections-laws-math@1.0.0.0 · src/math/fixed.bend:369

import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixed
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
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

369def u64_overflowing_pow(+a: W.U64, +e: U32) -> Over<W.U64>:
370  OV{u64_wrapping_pow(a, e), res_bad(W.U64, G.pow(~W.U64, ~I.u64_op, ~I.u64_is, a, U32.to_nat(e)))}

Uses (9)

Used by (4)