def is_inf
import bend-collections-laws-crypto@1.0.0.0/spec/math/f64.bend as F64import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F
126def is_inf(+x: F.F64) -> Bool:
127 Bool.and(Nat.is_eq(efield(x), 2047n), Nat.is_eq(frac(x), 0n))
Uses (6)
Used by (18)
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:to_integral
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:to_nat
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:rbad
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/f64bits:isinf_g
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:IsInf.value
- …