musl/src/prng
Szabolcs Nagy 1569f396bb fix initstate to make the state buffer usable in setstate
setstate could use the results of previous initstate or setstate
calls (they return the old state buffer), but the documentation
requires that an initialized state buffer should be possible to
use in setstate immediately, which means that initstate should
save the generator parameters in it.

I also removed the copyright notice since it is present in the
copyright file.
2014-01-21 02:01:35 +01:00
..
__rand48_step.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
__seed48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
drand48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
lcong48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
lrand48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
mrand48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
rand.c prng: fix rand() to give good sequence with small state 2013-06-08 13:31:10 +00:00
rand_r.c improve the quality of output from rand_r 2013-06-12 18:20:48 -04:00
random.c fix initstate to make the state buffer usable in setstate 2014-01-21 02:01:35 +01:00
seed48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
srand48.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00