anchor.diff:      {exs1024_gen1024(
               (B1 bsl 43) bor (B2 bsl 22) bor (B3 bsl 1) bor 1), []}.
   
  -%% {uniform_s, State} -> {F, NewState}:
  -%% Generate float from
  -%% given xorshift1024star internal state.
  -%% (Note: 0.0 =&lt; result &lt; 1.0)
  +%% Generate float from given xorshift1024star internal state.
   
   exs1024_uniform(R0) ->
       {V, R1} = exs1024_next(R0),
       {V / 18446744073709551616.0, R1}.
   
  -%% {uniform_s, N, State} -> {I, NewState}:
  -%% @doc Generate integer from given xorshift1024star internal state.
  -%% (Note: 0 =&lt; result &lt; MAX (given positive integer))
  +%% Generate integer from given xorshift1024star internal state.
   
   exs1024_uniform(Max, R) ->
       {V, R1} = exs1024_next(R),
  
positive.code:                    s1 = R1#exsplus_state.s1}),
      R2.
  
  %% {uniform_s, State} -> {F, NewState}:
  %% Generate float from
  %% given xorshift128plus internal state.
  %% (Note: 0.0 =&lt; result &lt; 1.0)
  
  exsplus_uniform(R0) ->
      {I, R1} = exsplus_next(R0),
      {I / 18446744073709551616.0, R1}.
  
  %% {uniform_s, N, State} -> {I, NewState}:
  %% Generate integer from given xorshift128plus internal state.
  %% (Note: 0 =&lt; result &lt; MAX (given positive integer))
  
  exsplus_uniform(Max, R) ->
      {V, R1} = exsplus_next(R),
  
negative.code:        A3 band ?TINYMT_UINT32]).
  
  %% Generate 32bit-resolution float from the given TinyMT internal state.
  
  tinymt_uniform(R0) ->
      R1 = tinymt_next_state(R0),
      {tinymt_temper_float(R1), R1}.
  
  %% Generate 32bit-resolution integer from the given TinyMT internal state.
  
  tinymt_uniform(Max, R) ->
      R1 = tinymt_next_state(R),
  