def rw_top

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

import bend-collections@1.0.0.0/src/math/f64.bend as F64
import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
import bend-collections@1.0.0.0/src/math/w64.bend as X

656def rw_top(+s: Bool, +x: Nat, +w: W.U64, top: Bool) -> F64:
657  match top:
658    case True{}:
659      norm_round_pack(s, Nat.add(x, 2181n), X.shr_jam(w, 1n))
660    case False{}:
661      norm_round_pack(s, Nat.add(x, 2180n), w)

Uses (7)

Used by (1)