struct PF::Lehmer32

Included Modules

Defined in:

lehmer32.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(state : UInt32 = ::rand(UInt32)) #

[View source]

Instance Method Detail

def new_seed(n : Number) #

[View source]
def next_u #

Generate the next number in the squence


[View source]