int←{                       ⍝ Signed from unsigned integer.
    ↑⍵{(⍺|⍺⍺+⍵)-⍵}/2*⍺-0 1
}
code_colours

test script

Back to: notes

Back to: Workspaces