[Mapserver-dev] Floating point precision problem in the WMS m odule

Daniel Morissette dmorissette at dmsolutions.ca
Tue May 25 10:19:56 EDT 2004


Ned Harding wrote:
> I have not looked at this code in particular, but the problem is probably on
> the output of the #, not the input.  Most implementations of sprintf and
> related will only show 6 or so decimal places unless you specifically
> request more.
> 

Agreed. Plus I just added to the bug a small test program that 
demonstrates that atof() maintains the full precision of a double, so 
the problem has to be somewhere else.

-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-dev mailing list