[Regression] AArch64: log and cos/sin intrinsics give incorrect results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-lts (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Cosmic |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Upstream bug: https:/
Reference (w/ workaround): http://
$ cat LogTest.java
public class LogTest {
public static void main(String[] args) {
double x = 4.9E-324;
}
}
$ cat CosTest.java
public class CosTest {
public static void main(String[] args) {
}
}
$ javac LogTest.java
With 10.0.2+13-1ubuntu1 (correct):
$ java LogTest
-744.4400719213812
-744.4400719213812
With 11~28-3ubuntu1 (incorrect):
$ java LogTest
-710.989276736877
-744.4400719213812
$ javac CosTest.java
With 10.0.2+13-1ubuntu1 (correct):
$ java CosTest
0.7833030468809974
With 11~28-3ubuntu1 (incorrect):
$ java CosTest
-0.2745634094819721
summary: |
- [Regression] AArch64: Math.log intrinsic gives incorrect results + [Regression] AArch64: log and cos/sin intrinsics give incorrect results |
description: | updated |
description: | updated |
description: | updated |
This bug was fixed in the package openjdk-lts - 11.0.1+13-3ubuntu1
--------------- 13-3ubuntu1) disco; urgency=medium
openjdk-lts (11.0.1+
* Sync packages with 11.0.1+13-3: OPTIONS= terse. Closes: #912211.
- Tighten dependency on debhelper on recent releases. Closes: #911694.
- Reproducible properties file header when SOURCE_DATE_EPOCH is specified.
Closes: #914278.
- Add SOURCE_DATE_EPOCH support to the javadoc tool. Closes: #783938.
- Disable AArch64 intrinsics for sin, cos and log. Closes: #910188.
LP: #1796982.
- Add support for DEB_BUILD_
-- Matthias Klose <email address hidden> Fri, 30 Nov 2018 12:15:34 +0100