Re: strange atof error
Re: strange atof error
- Subject: Re: strange atof error
- From: Eric Albert <email@hidden>
- Date: Mon, 20 Feb 2006 02:27:01 -0800
On Feb 16, 2006, at 9:40 AM, Benoit Ogier wrote:
I'm working on an applications that use a framework, and i've just
found a strange bug : if i use atof or strtod in my framework code,
the result is always -161060380 for a "0" input, and 817883912 in
other cases. With the same code in my application, the result is ok.
Any suggestion ?
Make sure the right prototype for atof is in scope at the point where
it's called. In other words, make sure you've #include'd stdlib.h and
haven't done anything like '#undef atof'.
Hope this helps,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden