Bitwise Operators

version 1 by Bart Massey

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Bit Shift Phrases

    To bit-shl (A - an existing number variable) by (B - a number):
        (- {A} = SHL({A}, {B}); -).

    To bit-shr (A - an existing number variable) by (B - a number):
        (- {A} = SHR({A}, {B}); -).

    To decide what number is (A - a number) bit-shl by (B - a number):
        (- SHL({A}, {B}) -).

    To decide what number is (A - a number) bit-shr by (B - a number):
        (- SHR({A}, {B}) -).