public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47007] New: Values from namelist file should not depend on locale settings
@ 2010-12-18 19:04 fenixk19 at mail dot ru
  2010-12-18 19:38 ` [Bug fortran/47007] " kargl at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: fenixk19 at mail dot ru @ 2010-12-18 19:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007

           Summary: Values from namelist file should not depend on locale
                    settings
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fenixk19@mail.ru


Namelist files can be generated on any platform with any locale settings. And
namelist files must be usable among this platforms. But today some data in
namelist files depends on locale settings, for example floating point format. 
So when you try to open namelist file, generated on en_US locale in the
environment with ru_RU locale, for example, you get into trouble with reading
floating points values.
Namelist entry
 DT=7.3000002E-011
is read as 7.3E-11 on en_US and as 7 in ru_RU.

Namelist should not depend on locale settings, so we can open namelist file
generated with any locale settings on any other locale settings, without
changing file and locale.


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2014-11-10  0:22 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-18 19:04 [Bug fortran/47007] New: Values from namelist file should not depend on locale settings fenixk19 at mail dot ru
2010-12-18 19:38 ` [Bug fortran/47007] " kargl at gcc dot gnu.org
2010-12-18 20:52 ` burnus at gcc dot gnu.org
2010-12-18 21:24 ` jvdelisle at gcc dot gnu.org
2010-12-19  2:14 ` sgk at troutmask dot apl.washington.edu
2010-12-19 11:35 ` burnus at gcc dot gnu.org
2010-12-19 13:55 ` fenixk19 at mail dot ru
2010-12-19 13:58 ` fenixk19 at mail dot ru
2010-12-19 14:13 ` fenixk19 at mail dot ru
2010-12-19 14:41 ` burnus at gcc dot gnu.org
2010-12-19 17:48 ` jvdelisle at gcc dot gnu.org
2010-12-19 18:04 ` fenixk19 at mail dot ru
2010-12-19 21:33 ` burnus at gcc dot gnu.org
2010-12-20  8:48 ` jb at gcc dot gnu.org
2010-12-20 14:04 ` fenixk19 at mail dot ru
2010-12-20 14:48 ` sgk at troutmask dot apl.washington.edu
2012-03-14 14:09 ` pchwood at yahoo dot com
2012-07-05 23:03 ` jtappin at gmail dot com
2013-07-04 13:44 ` burnus at gcc dot gnu.org
2013-07-04 15:30 ` burnus at gcc dot gnu.org
2013-07-04 15:35 ` burnus at gcc dot gnu.org
2013-07-04 15:49 ` schwab@linux-m68k.org
2014-03-30 18:12 ` dominiq at lps dot ens.fr
2014-11-05 10:50 ` jb at gcc dot gnu.org
2014-11-10  0:17 ` jb at gcc dot gnu.org
2014-11-10  0:22 ` jb at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).