This is the mail archive of the gcc-prs@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]

Re: libstdc++/7920: std::numeric_limits<char>::digits10 is incorrect (7, not 3)


Synopsis: std::numeric_limits<char>::digits10 is incorrect (7, not 3)

State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Sun Sep 29 00:44:39 2002
State-Changed-Why:
    This is already fixed for 3.3. Confirmed, but not a
    regression, for 3.2. The correct value, however, is 2 not
    3, since - according to 18.2.1.2,9 - digits10 is "number of
    base10 digits that can be represented without change" and
    definitely for char on your system this is impossible for,
    say, 500!

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7920


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