def pack_e
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64import Base
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F
160# a normal number (ef < 2047) or an overflow to infinity
161def pack_e(+s: Bool, +ef: Nat, +f: Nat) -> F.F64:
162 pick(F.F64, Nat.is_le(2047n, ef), inf(s), encode(s, ef, f))
Uses (7)
Used by (7)
- bend-collections-laws-math@1.0.0.0/spec/math/f64:pack
- bend-collections-laws-math@1.0.0.0/spec/math/f64:pack_n
- bend-collections-laws-math@1.0.0.0/proofs/math/random/fround:pkg_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:rt_norm
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:ru_self
- …