From: dobes AT mindless DOT com (Dobes Vandermeer) Subject: BUG: strtod() completely fails under cygwin-b20 3 Jan 1999 04:55:10 -0800 Message-ID: <368F41FF.A97718DD.cygnus.gnu-win32@mindless.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Here is my program: int main() { double val = strtod("3.123", 0); printf("TEST: %g %g\n", 3.123, val); return 0; } Here are the results: H:\>gcc test.c -o test.exe H:\>test TEST: 3.123 3123 The results I WANTED would have 3.123 both times, and this is the behavior documented. This same behavior is exhibited by atof()... This is a bug, I think. Please send any replies to my actual email address (mailto:dobes AT mindless DOT com) because I am not subscribed to this mailing list... Thanks Dobes - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".