def mag
import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
66def mag(+x: F64) -> W.U64:
67 W.U64{word_lo(x), U32.and(word_hi(x), 2147483647)}
import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
66def mag(+x: F64) -> W.U64:
67 W.U64{word_lo(x), U32.and(word_hi(x), 2147483647)}