https://github.com/apache/commons-lang
Revision 4e9b5102d802e795d92945c8d2ac26ed8c39a87a authored by Sebastian Bazley on 04 February 2010, 22:29:35 UTC, committed by Sebastian Bazley on 04 February 2010, 22:29:35 UTC
Fix nextInt() and nextLong() so all values 0 -> MAX_VALUE are equally likely

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/branches/LANG_2_X@906693 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2ed9d04
History
Tip revision: 4e9b5102d802e795d92945c8d2ac26ed8c39a87a authored by Sebastian Bazley on 04 February 2010, 22:29:35 UTC
Math.abs(long) can return a negative number
Tip revision: 4e9b510
File Mode Size
src
LICENSE.txt -rw-r--r-- 11.1 KB
NOTICE.txt -rw-r--r-- 173 bytes
PROPOSAL.html -rw-r--r-- 3.0 KB
RELEASE-NOTES.txt -rw-r--r-- 4.7 KB
build.xml -rw-r--r-- 11.2 KB
checkstyle.xml -rw-r--r-- 1.6 KB
default.properties -rw-r--r-- 2.5 KB
doap_lang.rdf -rw-r--r-- 2.9 KB
pom.xml -rw-r--r-- 15.3 KB

back to top