def inf_or_nan

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

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

340def inf_or_nan(+s: Bool, bad: Bool) -> F64:
341  match bad:
342    case True{}:
343      nan()
344    case False{}:
345      inf(s)

Uses (4)

Used by (4)