Reviewers: scottb,

Description:
This is based on Harmony code (with Richard  Zschech's gwt-java-math
changes).  I also made some improvements:

1) avoid use of longs where possible -- the common cases should all be
int/double only

2) fix a minor bug in nextGaussian when the random variables are both 0

For review purposes, I suggest comparing this code to the GwtMath
version at:

http://code.google.com/p/gwt-java-math/source/browse/trunk/src/net/zschech/gwt/math/java/util/Random.java


Please review this at http://gwt-code-reviews.appspot.com/132810

Affected files:
  user/super/com/google/gwt/emul/java/util/Random.java
  user/test/com/google/gwt/emultest/java/util/RandomTest.java


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to