W64.mulmod: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/w64.bend as W64 Lines 422-424 of bend-collections@1.0.0.0/src/math/w64.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/w64.bend&start_line=422&end_line=424 import Base import bend-collections@1.0.0.0/src/math/u64.bend as W # a * b mod m for a, b < m def mulmod(+a: W.U64, +b: W.U64, +m: W.U64) -> W.U64: mm_pick(a, b, m, U32.is_zero(hi(m))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_zero https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/u64.bend&name=U64 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/w64.bend&name=hi https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/w64.bend&name=mm_pick