def xe

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64addg.bend:32

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addg.bend as F64addg
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as SF

32# the scale and significand of a finite double with exponent field e
33def xe(+e: Nat) -> Nat:
34  SF.pick(Nat, Nat.is_eq(e, 0n), Nat.sub(SF.zb(), 1074n), Nat.sub(Nat.add(e, SF.zb()), 1075n))

Uses (6)

Used by (21)