def am_small

bend-collections-laws-crypto@1.0.0.0 · src/math/f64.bend:210

import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F64
import 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

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})

Uses (3)

Used by (1)