harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-6276) [luni][lang] Float.toString() can give wrong string and throws ArrayIndexOutOfBoundsException on AIX 32bit
Date Fri, 17 Jul 2009 18:08:14 GMT

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

Mark Hindess reassigned HARMONY-6276:
-------------------------------------

    Assignee: Mark Hindess

> [luni][lang] Float.toString() can give wrong string and throws ArrayIndexOutOfBoundsException
on AIX 32bit
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6276
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6276
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: AIX PPC 32bit
>            Reporter: Catherine Hope
>            Assignee: Mark Hindess
>         Attachments: 6276-patch.txt
>
>
> Float.toString() fails on AIX 32 bit for the following float values:
>        Float f;
>        // 1E19F (and above) displays as "@.0E19"
>        f = 1E19F; 
>        System.out.println("1E19F: " + f);
>        
>        // 1E-36F displays completely wrong value
>        f = 1E-36F;
>        System.out.println("1E-36F: " + f);
>        
>        // and 1E-38F (and below) throws an ArrayIndexOutOfBoundsException: Array index
out of range: 25
>        f = 1E-38F ;
>        System.out.println("1E-37F: " + f);

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


Mime
View raw message