| JDK 23 |
|---|
| 23 b08Fixed |
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
Remove Math.log instrinsic (it is already disabled).
Reason: the available implementation gave incorrect results:
public class LogTest {
public static void main(String[] args) {
double x = 4.9E-324;
System.out.println(Math.log(x));
System.out.println(StrictMath.log(x));
}
}
Should be -744.4400719213812, result is -710.989276736877.
Correct on Intel x86.
Second reason: We do not have proof of the monotonicity for the patch of this intrinsic.
|