def am_eq
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
232def am_eq(+x: F64, +s: Bool, +e: Nat, +fa: W.U64, +fb: W.U64) -> F64:
233 match e:
234 case 0n:
235 pack(s, 0n, X.add(fa, fb))
236 case _:
237 am_eq_n(x, s, e, fa, fb, Nat.is_eq(e, 2047n))