This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/61847] bug in gfortran runtime on OSX: digits cut off when reading floating point number
- From: "e2cd58e1 at opayq dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Jul 2014 18:18:14 +0000
- Subject: [Bug fortran/61847] bug in gfortran runtime on OSX: digits cut off when reading floating point number
- Auto-submitted: auto-generated
- References: <bug-61847-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61847
--- Comment #7 from e2cd58e1 at opayq dot com ---
For
printf("Test 1 = %.4f\n",strtod("1.2345",NULL));
printf("Test 2 = %.4f\n",strtod("1,2345",NULL));
I get
Test 1 = 1,0000
Test 2 = 1,2345