harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Ringrose (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-988) Formatting doubles: different behaviour with RI
Date Mon, 09 Oct 2006 19:45:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-988?page=all ]

Mike Ringrose updated HARMONY-988:
----------------------------------

    Attachment: diff.txt

The attached patch resolves the differences with the RI and Harmony by doing half up rounding.

> Formatting doubles: different behaviour with RI
> -----------------------------------------------
>
>                 Key: HARMONY-988
>                 URL: http://issues.apache.org/jira/browse/HARMONY-988
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mikhail Fursov
>            Priority: Minor
>         Attachments: diff.txt
>
>
> This simple line produces different results using RI and Harmony VMs
> System.out.format("%.1f\n", 1.45);
> Harmony: 1.4
> RI: 1.5
> I think that this is our bug.
> I tried to find the source of the problem but faced with problem that I can't find sources
for com.ibm.icu.text.DecimalFormat file.

-- 
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