diff options
author | Tobias Thierer <tobiast@google.com> | 2016-09-20 19:17:12 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2016-09-20 19:21:41 +0100 |
commit | 37db1d741fe624b67fb432aa453019c9a879a6f7 (patch) | |
tree | fb6f8bebb57fef39c21a95ba49b59ce5fb3920d2 /annotations/generate_annotated_java_files.py | |
parent | 6ad1e2b8fdd87de1fdda3894010f602f7aa11abf (diff) |
Update Random to OpenJDK8u60
This file is now exactly identical to upstream.
- parameter n was renamed to bound
- The while loop in nextInt() was refactored to
an equivalent for loop (note the assignment in
the loop condition).
- nextDouble() now multiplies * 0x1.0p-53
instead of dividing / (1L << 53)
Bug: 29935305
Test: vogar libcore.java.util.RandomTest
Test: vogar org.apache.harmony.tests.java.util.RandomTest
Change-Id: Ibfd65465305b1fc23cbe03317adfecb3045f9a00
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions