def is_zero

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

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