-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b23
-
generic
-
generic
The class java.util.Random is intended to provide cross-platform bit-for-bit reproducability of random numbers. However, the JavaDoc for the nextGaussian method is given in terms of Math.log; since 1.3 and the introduction of the StrictMath class, Math.log has not been required to get bitwise reproducible results across platforms. Therefore, to maintain the original intended specification of nextGaussian, the specification should require StrictMath.log instead of Math.log. (For clarity StrictMath.sqrt should be required instead of Math.sqrt although StrictMath.sqrt and Math.sqrt and defined, and required, to return the same results in all cases.)
The possible behavioral differences between Math.log and StrictMath was not a de facto issue until the recent intrinsification of log, 6196383.
###@###.### 2005-1-25 06:34:57 GMT
###@###.### 2005-1-25 06:52:16 GMT
The possible behavioral differences between Math.log and StrictMath was not a de facto issue until the recent intrinsification of log, 6196383.
###@###.### 2005-1-25 06:34:57 GMT
###@###.### 2005-1-25 06:52:16 GMT
- relates to
-
JDK-6477693 ommited synchronized modifier in Random.nextGaussian()
-
- Closed
-
-
JDK-6196383 LN and LOG10 should be implemented for C1
-
- Resolved
-
-
JDK-6214949 JCK1.5a: api/java_util/Random/index.html#Random test fails, mustang
-
- Resolved
-