commons-math/src
Phil Steitz 9c8bb93443 Fixed rounding error in RandomDataImpl nextInt, nextLong methods causing lower
endpoints to be excluded when negative. Also improved robustness of nextUniform
for extreme values and changed its contract to throw IAE when provided bounds
are infinite or NaN.

JIRA: MATH-724
Reported and patched by Dennis Hendriks




git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1221490 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 21:07:58 +00:00
..
main Fixed rounding error in RandomDataImpl nextInt, nextLong methods causing lower 2011-12-20 21:07:58 +00:00
media Follow branding reqs from http://www.apache.org/foundation/marks/pmcs#graphics 2011-03-09 19:01:41 +00:00
site Fixed rounding error in RandomDataImpl nextInt, nextLong methods causing lower 2011-12-20 21:07:58 +00:00
test Fixed rounding error in RandomDataImpl nextInt, nextLong methods causing lower 2011-12-20 21:07:58 +00:00