atof returns a value that is slightly greater than the original string

Andrew Markebo flognat@flognat.myip.org
Mon Sep 10 14:05:00 GMT 2001


| The reason to why you don't see it on cout is that cout prints floats
| with 1 or two decimals per default, if you tell it to print.. MANY
| decimals.. 

I mean.. "if you tell cout to print many decimals you will see the
problem through cout too"

It has nothing to do with atof.

        /Andy

-- 
 The eye of the beholder rests on the beauty!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list