You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mohanraj Loganathan (JIRA)" <ji...@apache.org> on 2010/02/09 16:13:34 UTC

[jira] Created: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

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

                 Key: HARMONY-6441
                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: windows
            Reporter: Mohanraj Loganathan


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832861#action_12832861 ] 

Hudson commented on HARMONY-6441:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #622 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/622/])
    Apply patch for : [classlib][luni]Math.pow(double, double) result differ from RI


> [classlib][luni]Math.pow(double, double) result differ from RI
> --------------------------------------------------------------
>
>                 Key: HARMONY-6441
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows
>            Reporter: Mohanraj Loganathan
>            Assignee: Regis Xu
>             Fix For: 5.0M13
>
>         Attachments: 001_CE_Math_pow_failure_fix.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu reassigned HARMONY-6441:
---------------------------------

    Assignee: Regis Xu

> [classlib][luni]Math.pow(double, double) result differ from RI
> --------------------------------------------------------------
>
>                 Key: HARMONY-6441
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows
>            Reporter: Mohanraj Loganathan
>            Assignee: Regis Xu
>             Fix For: 5.0M13
>
>         Attachments: 001_CE_Math_pow_failure_fix.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu resolved HARMONY-6441.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M13

Thanks Mohan, patch is applied at r909251, please verify.


> [classlib][luni]Math.pow(double, double) result differ from RI
> --------------------------------------------------------------
>
>                 Key: HARMONY-6441
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows
>            Reporter: Mohanraj Loganathan
>            Assignee: Regis Xu
>             Fix For: 5.0M13
>
>         Attachments: 001_CE_Math_pow_failure_fix.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843919#action_12843919 ] 

Hudson commented on HARMONY-6441:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #659 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/659/])
    revert fix for  at r909251, but keep the test case.

It is fixed in fdlibm 5.3, the check in java code is not necessary anymore.


> [classlib][luni]Math.pow(double, double) result differ from RI
> --------------------------------------------------------------
>
>                 Key: HARMONY-6441
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows
>            Reporter: Mohanraj Loganathan
>            Assignee: Regis Xu
>             Fix For: 5.0M13
>
>         Attachments: 001_CE_Math_pow_failure_fix.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

Posted by "Mohanraj Loganathan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mohanraj Loganathan closed HARMONY-6441.
----------------------------------------


Thank you Regis, Verified @ r910959. 

> [classlib][luni]Math.pow(double, double) result differ from RI
> --------------------------------------------------------------
>
>                 Key: HARMONY-6441
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows
>            Reporter: Mohanraj Loganathan
>            Assignee: Regis Xu
>             Fix For: 5.0M13
>
>         Attachments: 001_CE_Math_pow_failure_fix.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-6441) [classlib][luni]Math.pow(double, double) result differ from RI

Posted by "Mohanraj Loganathan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mohanraj Loganathan updated HARMONY-6441:
-----------------------------------------

    Attachment: 001_CE_Math_pow_failure_fix.diff

Attaching patch for this issue.

> [classlib][luni]Math.pow(double, double) result differ from RI
> --------------------------------------------------------------
>
>                 Key: HARMONY-6441
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6441
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows
>            Reporter: Mohanraj Loganathan
>         Attachments: 001_CE_Math_pow_failure_fix.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.