Date: Wed, 04 Oct 2000 18:29:19 +0400 From: jadream <jadream@chat.ru> To: freebsd-questions@freebsd.org Subject: Am I crazy ot libc is not working? (atof()) Message-ID: <39DB3EBF.CC697AE5@chat.ru>
next in thread | raw e-mail | index | archive | help
Hi!
I'm at the point of boiling after 10 hours trying to understand why
under FreeBSD 3.2 at x86 generic machine in C-file compiled with default
gcc without any specific clues standard lib function atof() is
malfunctioning.
double res;
res = atof("266738911.0");
res can be zero or someting less then zero or some "magic" value like
10011000.000000.
Just can't get what's wrong?
can't believe in such a stupid bug in libc. Maybe something more
complicated?
Any ideas are welcome.
Don't blame me if it's an obvious thing - may be I really need some
medicine :0)
Alex Komratov
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39DB3EBF.CC697AE5>
