On Tue, 26 Apr 2022 16:55:44 GMT, Raffaello Giulietti <d...@openjdk.java.net> wrote:
>> The spec of the interface `java.util.random.RandomGenerator` is slightly >> incorrect when it discusses `float` and `double` random values. > > Raffaello Giulietti has updated the pull request incrementally with one > additional commit since the last revision: > > 8285658: Fix two typos in the spec of j.u.random.RandomGenerator Marked as reviewed by darcy (Reviewer). src/java.base/share/classes/java/util/random/RandomGenerator.java line 501: > 499: * > 500: * @implSpec The default implementation uses the {@link > Float#PRECISION} > 501: * high-order bits from a call to {@link RandomGenerator#nextInt() > nextInt}(). Typographical nit: please include the "()" inside the link tag for both methods. ------------- PR: https://git.openjdk.java.net/jdk/pull/8404