Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: Marco Craveiro 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> From: Andrew Markebo Date: 10 Sep 2001 23:05:01 +0200 In-Reply-To: Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii | 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/