# File lib/backports/1.9.2/random/MT19937.rb, line 17
    def next_state
      STATE_SIZE.times do |i|
        mix = @state[i] & 0x80000000 | @state[i+1 - STATE_SIZE] & 0x7fffffff
        @state[i] = @state[i+OFFSET - STATE_SIZE] ^ (mix >> 1)
        @state[i] ^= 0x9908b0df if mix.odd?
      end
      @last_read = -1
    end