You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Adriano Crestani (JIRA)" <de...@tuscany.apache.org> on 2008/06/25 01:17:45 UTC

[jira] Resolved: (TUSCANY-2439) Float / double loss of precision

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

Adriano Crestani resolved TUSCANY-2439.
---------------------------------------

    Resolution: Fixed

fixed on revision 671378

> Float / double loss of precision
> --------------------------------
>
>                 Key: TUSCANY-2439
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2439
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>            Reporter: Caroline Maynard
>            Assignee: Adriano Crestani
>         Attachments: Tuscany-2439.patch
>
>
> When Tuscany converts floats or doubles to strings, in particular when it writes them to an XML document, there is serious loss of precision.
> This is because Tuscany uses a format string of %.3e or %.3Le, meaning it will use a maximum of three digits after the decimal point. 

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