incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-423) LIMITS.cpp assumes integers with no padding bits
Date Tue, 22 May 2007 16:00:37 GMT
LIMITS.cpp assumes integers with no padding bits
------------------------------------------------

                 Key: STDCXX-423
                 URL: https://issues.apache.org/jira/browse/STDCXX-423
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 4.1.2, 4.1.3, 4.2
         Environment: unknown
            Reporter: Martin Sebor
            Priority: Trivial


The LIMITS.cpp config test tries to determine exact-width integer typese (the equivalent of
things such as int32_t) but it fails to consider the fact that all integer types other than
unsigned char may have padding bits that contribute to their size but not to their range (i.e.,
there may be two or more distinct bit patters that represent the same value, or bit patterns
that do not correspond to any value at all). This is only an issue in theory since we know
of no architecture with such a representation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message