def paint.order.second
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
5614def paint.order.second(+order: U32) -> U32:
5615 +first = U32.div(order, 2)
5616 +lo = U.choose(U32, U32.is_eq(first, 0), 1, 0)
5617 +hi = U.choose(U32, U32.is_eq(first, 2), 1, 2)
5618 U.choose(U32, U32.is_eq(U32.mod(order, 2), 0), lo, hi)
Uses (5)
Used by (0)
No other definition uses this definition.