def is_nan_value

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64bits.bend:247

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits.bend as F64bits
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as SF
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F

247def is_nan_value(+x: F.F64) -> SF.IsNan.value(x):
248  match x:
249    case F.Bits{+l, +h}:
250      isnan_g(1n, {==}, l, h, 1048576, {==}, 2047, {==}, 1048575, {==})

Uses (3)

Used by (9)