Bitwise operations: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) (ooRexx added) |
Walterpachl (talk | contribs) m (ooRexx output placement) |
||
Line 1,411: | Line 1,411: | ||
c2b: return x2b(c2x(arg(1)))</lang> |
c2b: return x2b(c2x(arg(1)))</lang> |
||
Output: |
Output: |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|PARI/GP}}== |
=={{header|PARI/GP}}== |
||
Line 1,423: | Line 1,431: | ||
print("Right shift: ",a>>b); |
print("Right shift: ",a>>b); |
||
}</lang> |
}</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Pascal}}== |
=={{header|Pascal}}== |