axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-320) float number, 77.99 becomes 77.989998 in output string
Date Wed, 05 Jan 2005 08:36:12 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-320?page=comments#action_57294 ]
     
Samisa Abeysinghe commented on AXISCPP-320:
-------------------------------------------

I tried with %g9 (for float) and %g18 (for decimal) and there still seems to be more problems.
The precision we get really depend on the number of digits we have in the value we try to
deserialize.

We could only reach some level of precision but not full level

> float number, 77.99 becomes 77.989998 in output string
> ------------------------------------------------------
>
>          Key: AXISCPP-320
>          URL: http://issues.apache.org/jira/browse/AXISCPP-320
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.4 Final
>  Environment: All platforms
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: current (nightly)

>
> Jean .A - Canada ->
> Well, I have a strange behavior with floating number and date time format.
> 1 ) With float number, 77.99 becomes 77.989998 output string under
> Axis. Why I lost some digits ??????!!!
> See http://marc.theaimsgroup.com/?t=110260619200001&r=1&w=2 for more details.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message