Description of problem: Similar to bug 1628612. It produces -710.989276736877 instead of -744.4400719213812 as a result. Version-Release number of selected component (if applicable): $ rpm -q java-11-openjdk java-11-openjdk-11.0.ea.28-5.fc28.aarch64 How reproducible: 100% Steps to Reproduce: $ cat TestMath.java public class TestMath { public static void main(String[] args) { int testfail = 0; double expected = 0.7833030468809974; double res = Math.cos(1647100); if (res != expected) { System.out.println("Test Math.cos() FAILED! Got: " + res + " instead of " + expected); testfail++; } double x = 4.9E-324; res = Math.log(x); expected = -744.4400719213812; if (res != expected) { System.out.println("Test Math.log() FAILED! Got: " + res + " instead of " + expected); testfail++; } if (testfail > 0) { System.out.println("Test FAILED! Got " + testfail + " failures."); } else { System.out.println("Test(s) passed!"); } } } $ javac TestMath.java $ /usr/lib/jvm/java-11-openjdk/bin/java TestMath Test Math.log() FAILED! Got: -710.989276736877 instead of -744.4400719213812 Test FAILED! Got 1 failures. Actual results: Test Math.log() FAILED! Got: -710.989276736877 instead of -744.4400719213812 Test FAILED! Got 1 failures. Expected results: Test(s) passed! Additional info: This issue is tracked upstream here: https://bugs.openjdk.java.net/browse/JDK-8210858
Proposed fix: https://src.fedoraproject.org/rpms/java-11-openjdk/pull-request/5
With a build including the fix from the PR I see this: <mock-chroot> sh-4.4# rpm -qf /usr/lib/jvm/java-11-openjdk/bin/java java-11-openjdk-headless-11.0.ea.28-6.fc30.aarch64 <mock-chroot> sh-4.4# /usr/lib/jvm/java-11-openjdk/bin/java TestMath Test(s) passed! I'm going to merge it in.
java-11-openjdk-11.0.ea.28-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-22ef555fb7
java-11-openjdk-11.0.ea.28-6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-972ab7ba3e
java-11-openjdk-11.0.ea.28-6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-972ab7ba3e
java-11-openjdk-11.0.ea.28-6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-22ef555fb7
java-11-openjdk-11.0.ea.28-8.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f10566c2e0
java-11-openjdk-11.0.ea.28-8.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e402b3f75c
java-11-openjdk-11.0.ea.28-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c34978a9f4
java-11-openjdk-11.0.ea.28-8.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c34978a9f4
java-11-openjdk-11.0.ea.28-8.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f10566c2e0
java-11-openjdk-11.0.ea.28-8.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e402b3f75c
java-11-openjdk-11.0.ea.28-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
java-11-openjdk-11.0.ea.28-8.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
java-11-openjdk-11.0.ea.28-8.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.