This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.3.12-2 : atof() always returns 0
- From: Tim Prince <tprince at computer dot org>
- To: "Hervé Le Net" <hlenet at hotmail dot com>,cygwin at cygwin dot com
- Date: Fri, 12 Jul 2002 06:02:12 -0700
- Subject: Re: 1.3.12-2 : atof() always returns 0
- References: <F16200lfepHjon60TMZ00005960@hotmail.com>
- Reply-to: tprince at computer dot org
On Friday 12 July 2002 01:32, Hervé Le Net wrote:
> The atof() function, compiled with gcc, always returns 0.
> Example :
> f = atof("123.456");
> printf("%f\n", f);
> Result :
> H. Le Net
Do you mean you compiled atof(), or that you compiled some code fragment of
your own which calls atof(), possibly without employing the correct headers?
gcc conforms to the C standard, not to the usual practice prior to 13 years
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html