def is_zero
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64import Base
import bend-collections-laws-math@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 (49)
- bend-collections-laws-math@1.0.0.0/spec/math/f64:ord
- bend-collections-laws-math@1.0.0.0/spec/math/f64:rbad
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:ok_zy
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:eBy
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:ynz
- …