-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 21, 22, 23
-
b08
-
aarch64
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.
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.
- relates to
-
JDK-8215133 AARCH64: disable Math.log intrinsic publishing
-
- Resolved
-
-
JDK-8196402 AARCH64: create intrinsic for Math.log
-
- Resolved
-
-
JDK-8211105 AArch64: Disable cos/sin and log intrinsics in jdk11u pending fix
-
- Resolved
-