Hi again,
just little more details:
I'm currently blocked by the following issue. If I try to compile,
with -std=gnu++98 (the default for C++) and -pedantic-errors:
template
struct limits;
template<>
struct limits<__int128> { };
template<>
struct limits { };
I get:
a.cc:8:26: error: ISO C+
On 09/18/2011 08:58 PM, Paolo Carlini wrote:
On 09/18/2011 08:36 PM, Joseph S. Myers wrote:
__int128_t and __uint128_t are legacy typedefs for __int128 and
unsigned __int128.
I didn't realize this. Thus I guess, for 50441 and also for 40856
(which I'm about to do) better doing everything in ter
On 09/18/2011 08:36 PM, Joseph S. Myers wrote:
__int128_t and __uint128_t are legacy typedefs for __int128 and
unsigned __int128.
I didn't realize this. Thus I guess, for 50441 and also for 40856 (which
I'm about to do) better doing everything in terms of __int128 and
unsigned __int128.
Paolo
On Sun, 18 Sep 2011, Marc Glisse wrote:
> On Sun, 18 Sep 2011, Paolo Carlini wrote:
>
> > On 09/18/2011 09:03 AM, Marc Glisse wrote:
> > > the testsuite uses #ifdef __SIZEOF_INT128__ to test for the availability
> > > of a 128 bit integer type. I haven't seen a similar define for float128,
> > Th
On 09/18/2011 11:07 AM, Marc Glisse wrote:
Indeed!
The documentation is not clear on whether __int128 and __float128 may
be the same types as say long long and long double, or they are
different types even if they have the same size (the doc was written
for C, where it doesn't matter as much).
On Sun, 18 Sep 2011, Paolo Carlini wrote:
On 09/18/2011 09:03 AM, Marc Glisse wrote:
the testsuite uses #ifdef __SIZEOF_INT128__ to test for the availability of
a 128 bit integer type. I haven't seen a similar define for float128,
Thanks. For now I went for a configure test, consistently for in
On 09/18/2011 09:03 AM, Marc Glisse wrote:
the testsuite uses #ifdef __SIZEOF_INT128__ to test for the
availability of a 128 bit integer type. I haven't seen a similar
define for float128,
Thanks. For now I went for a configure test, consistently for int and
float, which also allows to check wh
On Sun, 18 Sep 2011, Paolo Carlini wrote:
tested x86_64-linux, committed to mainline.
Hello,
bugzilla seems to be down, so let me write it here:
the testsuite uses #ifdef __SIZEOF_INT128__ to test for the availability
of a 128 bit integer type. I haven't seen a similar define for float128,
Hi,
tested x86_64-linux, committed to mainline.
Paolo.
///
2011-09-17 Paolo Carlini
PR libstdc++/50441
* acinclude.m4 ([GLIBCXX_ENABLE_INT128_FLOAT128]): Add.
* configure.ac: Call it.
* include/std/type_traits (__is_integral_helper<__int128_t>