RandPCG v0.1.2 RandPCG.State View Source

Struct to hold the seed and incrimenter

Link to this section Summary

Types

t()

Struct to hold the seed and incrimenter

32 bit unsigned integer Elixir has arbitrary precision, but the random numbers are limited

64 bit unsigned integer Elixir has arbitrary precision, but the random numbers are limited

Functions

Generates a new seed based on :os.system_time(:micro_seconds)

Generates a new state with seed based on :os.system_time(:micro_seconds)

Link to this section Types

Link to this type t() View Source
t() :: %RandPCG.State{inc: non_neg_integer, seed: uint64}

Struct to hold the seed and incrimenter

Link to this type uint32() View Source
uint32() :: non_neg_integer

32 bit unsigned integer Elixir has arbitrary precision, but the random numbers are limited

Link to this type uint64() View Source
uint64() :: non_neg_integer

64 bit unsigned integer Elixir has arbitrary precision, but the random numbers are limited

Link to this section Functions

Generates a new seed based on :os.system_time(:micro_seconds)

Generates a new state with seed based on :os.system_time(:micro_seconds)