def is_zero
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
129def is_zero(+x: F.F64) -> Bool:
130 Bool.and(Nat.is_eq(efield(x), 0n), Nat.is_eq(frac(x), 0n))
Uses (6)
Used by (13)
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:ord
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:rbad
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/f64bits:iszero_g
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:IsZero.value
- bend-collections-laws-crypto@1.0.0.0/spec/math/f64:as_ratio
- …