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

Caroline Maynard updated TUSCANY-2439:
--------------------------------------

    Attachment: Tuscany-2439-trunk.patch

The equivalent patch for trunk. Think of this as a prototype - it will need 
some love, as I don't have an environment where I can test or even compile it.

> 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-trunk.patch, 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.

Reply via email to