def minv32

bend-collections-laws-crypto@1.0.0.0 · src/math/w64.bend:649

import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as W64
import Base

649# -1 / m mod 2^32 for odd m
650def minv32(+m: U32) -> U32:
651  U32.sub(0, inv32_step(m, inv32_step(m, inv32_step(m, inv32_step(m, m)))))

Uses (3)

Used by (2)