def sgn
import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F64import Base
48def sgn(s: Bool) -> U32:
49 match s:
50 case True{}:
51 2147483648
52 case False{}:
53 0
import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F64import Base
48def sgn(s: Bool) -> U32:
49 match s:
50 case True{}:
51 2147483648
52 case False{}:
53 0