def to_mont
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
628# x 2^64 mod m for x < m, m >= 2^32
629def to_mont(+x: W.U64, +m: W.U64) -> W.U64:
630 red96(red96(x, 0, m), 0, m)