Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6441

[classlib][luni]Math.pow(double, double) result differ from RI

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M13
    • Classlib
    • None
    • windows
    • Patch Available

    Description

      Math.pow(double, double) result differ from RI for the following inputs:

      Scenario 1:
      arg0: -100.0
      arg1: 9.007199254740991E15
      RI Returns: -Infinity
      HDK Returns: Infinity

      Scenario 2:
      arg0: -100.0
      arg1: -9.007199254740991E15
      RI Returns: -0.0
      HDK Returns: 0.0

      Attachments

        1. 001_CE_Math_pow_failure_fix.diff
          16 kB
          Mohanraj Loganathan

        Activity

          People

            regis_xu Regis Xu
            mohlogan Mohanraj Loganathan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment