def sm_small
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@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})
Uses (3)
Used by (7)
- bend-collections-laws-math@1.0.0.0/src/math/f64:sm_big
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addh:bigS
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addb:smb0
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addb:smb1
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addf:caseGT
- …