def is_inf

bend-collections-laws-crypto@1.0.0.0 · spec/math/f64.bend:126

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