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 libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t


salmonj@drdblogin6.en.desres$ cat numeric128.cpp
#include <limits>
#include <iostream>

int main(int argc, char **argv){
    std::cout << "__int128_t is_specialized: " <<
std::numeric_limits<__int128_t>::is_specialized << "\n";
    std::cout << "__uint128_t is_specialized: " <<
std::numeric_limits<__uint128_t>::is_specialized << "\n";
    std::cout << "int is_specialized: " <<
std::numeric_limits<int>::is_specialized << "\n";
    return 0;
}
salmonj@drdblogin6.en.desres$ desres-cleanenv -m gcc/4.4.1-13/bin g++
--std=gnu++0x numeric128.cpp
salmonj@drdblogin6.en.desres$ a.out
__int128_t is_specialized: 0
__uint128_t is_specialized: 0
int is_specialized: 1
salmonj@drdblogin6.en.desres$


-- 
           Summary: numeric_limits not specialized for __int128_t or
                    __uint128_t
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: john dot salmon at deshaw dot com


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


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