Binary digits: Difference between revisions

Content deleted Content added
Russtopia (talk | contribs)
Added GNU APL equivalent
Russtopia (talk | contribs)
Line 603:
 
Produces a boolean array.
<lang apl>base2 ← {((⌈2⍟⍵+1)⍴2)⊤⍵}</lang>
 
<pre> base2 5