Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210858

AArch64: Math.log intrinsic gives incorrect results

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpochepk Dmitrij Pochepko
                Reporter:
                aph Andrew Haley
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: