def isaac
      i = 0

      @cc += 1
      @bb += @cc
      @bb &= 0xffffffff

      while i < 256
        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] + (@aa ^ (@aa << 13))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1

        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] +
               (@aa ^ (0x03ffffff & (@aa >> 6)))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1

        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] + (@aa ^ (@aa << 2))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1

        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] +
               (@aa ^ (0x0000ffff & (@aa >> 16)))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1
      end
    end
def isaac
      i = 0

      @cc += 1
      @bb += @cc
      @bb &= 0xffffffff

      while i < 256
        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] + (@aa ^ (@aa << 13))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1

        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] +
               (@aa ^ (0x03ffffff & (@aa >> 6)))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1

        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] + (@aa ^ (@aa << 2))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1

        x = @mm[i]
        @aa = (@mm[(i + 128) & 255] +
               (@aa ^ (0x0000ffff & (@aa >> 16)))) & 0xffffffff
        @mm[i] = y = (@mm[(x >> 2) & 255] + @aa + @bb) & 0xffffffff
        @randrsl[i] = @bb = (@mm[(y >> 10) & 255] + x) & 0xffffffff
        i += 1
      end
    end
rubocop: disable Style/Semicolon