| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| To: | Marco Craveiro <soupdragon AT clix DOT pt> |
| Cc: | cygwin AT cygwin DOT com |
| Subject: | Re: atof returns a value that is slightly greater than the original string |
| References: | <1000153353 DOT 1101 DOT 8 DOT camel AT darkroom> |
| <m3heualqe8 DOT fsf AT localhost DOT localdomain> | |
| From: | Andrew Markebo <flognat AT flognat DOT myip DOT org> |
| Date: | 10 Sep 2001 23:05:01 +0200 |
| In-Reply-To: | <m3heualqe8.fsf@localhost.localdomain> |
| Message-ID: | <m3d74ylptu.fsf@localhost.localdomain> |
| Lines: | 14 |
| User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
| MIME-Version: | 1.0 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |