# File lib/backports/1.9.2/random/bits_and_bytes.rb, line 38 def state_as_bignum b = 0 @state.each_with_index do |val, i| b |= val << (32 * i) end b end