def is_inf

bend-collections-laws-math@1.0.0.0 · src/math/f64.bend:75

import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64
import Base
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X

75def is_inf(+x: F64) -> Bool:
76  Bool.and(Nat.is_eq(exp_field(x), 2047n), X.is_zero(frac(x)))

Uses (7)

Used by (13)