commit | a8e66f76d9333939d7cbbc9d99188901fde91291 | [log] [tgz] |
---|---|---|
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jan 30 15:42:19 2013 +0000 |
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jan 30 15:42:19 2013 +0000 |
tree | 09ca48d7c573752eafeb6bf5b290438849ea1487 | |
parent | 5ae319cc0e4a3c30a8ad1e4902d625ecaaa9ac74 [diff] |
Adds SkMWCRandom, which generates random numbers using a variant of George Marsaglia's multiply-with-carry "mother-of-all" method. This passes the tuftests suite so it should be much better than the current method (which does not). https://codereview.appspot.com/7235056/ git-svn-id: http://skia.googlecode.com/svn/trunk@7463 2bbb7eff-a529-9590-31e7-b0007b416f81