def div_cls

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

import bend-collections@1.0.0.0/src/math/f64.bend as F64
import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W

419def div_cls(+s: Bool, +ea: Nat, +fa: W.U64, +eb: Nat, +fb: W.U64, top: Bool) -> F64:
420  match top:
421    case True{}:
422      inf_or_nan(s, Bool.or(nz(fa), Nat.is_eq(eb, 2047n)))
423    case False{}:
424      div_b(s, ea, fa, eb, fb, Nat.is_eq(eb, 2047n))

Uses (9)

Used by (1)