[Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t

john dot salmon at deshaw dot com gcc-bugzilla@gcc.gnu.org
Sat Jul 25 15:02:00 GMT 2009


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



More information about the Gcc-bugs mailing list