You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/01/18 07:33:30 UTC

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

     [ https://issues.apache.org/jira/browse/HARMONY-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov closed HARMONY-1872.
------------------------------------

    Resolution: Duplicate

Closing as duplicate.

> [drlvm][jit] Double.isNaN(double value) and Float.iaNaN(float value) work incorrectly on EM-64T (Jitrino OPT)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1872
>                 URL: https://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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira