def is_nan

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

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

123def is_nan(+x: F.F64) -> Bool:
124  Bool.and(Nat.is_eq(efield(x), 2047n), Bool.not(Nat.is_eq(frac(x), 0n)))

Uses (7)

Used by (16)