W64.to_mont: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/w64.bend as W64 Lines 628-630 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=628&end_line=630 import Base import bend-collections@1.0.0.0/src/math/u64.bend as W # x 2^64 mod m for x < m, m >= 2^32 def to_mont(+x: W.U64, +m: W.U64) -> W.U64: red96(red96(x, 0, m), 0, m) Uses (2): 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=red96