def sm_small
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
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as X
251def sm_small(+e: Nat, +f10: W.U64) -> W.U64:
252 match e:
253 case 0n:
254 X.add(f10, f10)
255 case _:
256 X.add(f10, W.U64{0, 1073741824})