harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irina Arkhipets (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1872) [drlvm][jit] Double.isNaN(double value) and Float.iaNaN(float value) work incorrectly on EM-64T (Jitrino OPT)
Date Mon, 16 Oct 2006 04:16:38 GMT
[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

        

Mime
View raw message