def ar_cls

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

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

1242def ar_cls(+x: F64, top: Bool) -> Result<&2, &2, N.NumError, Ratio>:
1243  match top:
1244    case True{}:
1245      ar_top(nz(frac(x)))
1246    case False{}:
1247      ar_z(x, is_zero(x))

Uses (10)

Used by (1)