def round_pack

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

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

Uses (7)

Used by (15)