You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/09/29 05:49:55 UTC
[jira] Resolved: (HARMONY-747) java.lang.Doulbe.parseDouble(String)
does not support Hex number
[ http://issues.apache.org/jira/browse/HARMONY-747?page=all ]
Paulex Yang resolved HARMONY-747.
---------------------------------
Resolution: Fixed
Leo, the last patch applied at revision r451108, thanks a lot for the continous enhancement.
Richard, please verify the problem is fully resolved as you expected, thank you.
> java.lang.Doulbe.parseDouble(String) does not support Hex number
> ----------------------------------------------------------------
>
> Key: HARMONY-747
> URL: http://issues.apache.org/jira/browse/HARMONY-747
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Assigned To: Paulex Yang
> Attachments: lunipatch.txt, patch.diff, patch.diff, patch.diff, patch_III.diff, patch_partII.diff, patchV.diff
>
>
> Hello,
> When implementing java.util.Scanner, I find that java.lang.Doulbe.parseDouble(String) does not support Hex number. Could anyone have a look at this issue? Thanks a lot.
> The following test passes on RI, but fails on Harmony.
> public void test_ParseDouble() {
> String hexString = Double.toHexString(123);
> assertEquals("0x1.ecp6", hexString);
>
> double d = Double.parseDouble(hexString);
> assertEquals(123.0, d);
> }
> Best regards,
> Richard
--
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