[top][index]
search for:

ZZ >> ZZ -- shift bits rightward

Synopsis:

  • Operator: >> -- shift bits rightward
  • Input:
  • an instance of class ZZ.
  • an instance of class ZZ.
  • Output:
  • an instance of class ZZ.
  • i >> j -- shifts the bits in the integer i rightward j places.

    i1 : 256 >> 5

    o1 = 8

    See also:

  • <<
  • Code:

         -- ../../../Macaulay2/m2/integers.m2:20
         ZZ >> ZZ := ZZ => (i,j) -> i << -j

    [top][index]
    search for: