def is_inf
import bend-collections@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections@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)))
import bend-collections@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections@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)))