def sgn

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

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

48def sgn(s: Bool) -> U32:
49  match s:
50    case True{}:
51      2147483648
52    case False{}:
53      0

Uses (2)

Used by (5)