def am_small
import bend-collections@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
import bend-collections@1.0.0.0/src/math/w64.bend as X
210def am_small(+e: Nat, +f9: W.U64) -> W.U64:
211 match e:
212 case 0n:
213 X.add(f9, f9)
214 case _:
215 X.add(f9, W.U64{0, 536870912})