This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/61847] bug in gfortran runtime on OSX: digits cut off when reading floating point number


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]