You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Irina Arkhipets (JIRA)" <ji...@apache.org> on 2006/10/16 06:16:38 UTC

[jira] Created: (HARMONY-1872) [drlvm][jit] Double.isNaN(double value) and Float.iaNaN(float value) work incorrectly on EM-64T (Jitrino OPT)

[drlvm][jit] Double.isNaN(double value) and Float.iaNaN(float value) work incorrectly on EM-64T (Jitrino OPT)
-------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-1872
                 URL: http://issues.apache.org/jira/browse/HARMONY-1872
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Linux EM-64T
            Reporter: Irina Arkhipets


Double.isNaN(double value) and Float.iaNaN(float value) returns false for Double.NaN and Float.NaN.
This bug is reproduciblle with Jitrino OPT on Linux EM-64T platform only.
It is not reproducible with interpreter and JET.

Please, compile the following test example and run it with "-Xem:opt" switch to reproduce the failure:

--------- test.java ---------
public class test {
    public static void main(String args[]) {
        System.out.println(Double.isNaN(Double.NaN) ? "Double: PASSED" : "Double: FAILED");
        System.out.println(Float.isNaN(Float.NaN) ? "Float: PASSED" : "Float: FAILED");        
    }
}
------------------------------

Sample output is:
...
Double: FAILED
Float: FAILED
...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-1872) [drlvm][jit] Double.isNaN(double value) and Float.iaNaN(float value) work incorrectly on EM-64T (Jitrino OPT)

Posted by "Irina Arkhipets (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1872?page=all ]

Irina Arkhipets updated HARMONY-1872:
-------------------------------------

    Attachment: test.java

Test source file

> [drlvm][jit] Double.isNaN(double value) and Float.iaNaN(float value) work incorrectly on EM-64T (Jitrino OPT)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1872
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1872
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux EM-64T
>            Reporter: Irina Arkhipets
>         Attachments: test.java
>
>
> Double.isNaN(double value) and Float.iaNaN(float value) returns false for Double.NaN and Float.NaN.
> This bug is reproduciblle with Jitrino OPT on Linux EM-64T platform only.
> It is not reproducible with interpreter and JET.
> Please, compile the following test example and run it with "-Xem:opt" switch to reproduce the failure:
> --------- test.java ---------
> public class test {
>     public static void main(String args[]) {
>         System.out.println(Double.isNaN(Double.NaN) ? "Double: PASSED" : "Double: FAILED");
>         System.out.println(Float.isNaN(Float.NaN) ? "Float: PASSED" : "Float: FAILED");        
>     }
> }
> ------------------------------
> Sample output is:
> ...
> Double: FAILED
> Float: FAILED
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira