History log of /external/webrtc/webrtc/base/random.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84e78f9102dfbe9fc17aecd8d9d816042425a294 10-Dec-2015 terelius <terelius@webrtc.org> Rewrote the PRNG using an xorshift* algorithm and moved the files from test/ to base/.

Created a simple unit test for the new random number generator. (It mostly tests
that the generated numbers are consistent with the intended distribution, e.g. uniform.
It is not a comprehensive test of the quality of the random numbers.)

Several assertions in OveruseDetectorTest seem to depend on the exact sequence of random numbers. I updated those numbers to work with the new PRNG.

Compute the standard deviation of the expected result in TestReorderFilter instead of passing an uncertainty parameter.

BUG=webrtc:5177

Review URL: https://codereview.webrtc.org/1457023002

Cr-Commit-Position: refs/heads/master@{#10965}
/external/webrtc/webrtc/base/random.h