def round_pack
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
156# e is the biased exponent minus one, offset by OFF; sig has its top bit at 62
157def round_pack(+s: Bool, +e: Nat, +sig: W.U64) -> F64:
158 rp_neg(s, e, sig, Nat.is_lt(e, off()))