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 int and float,
which also allows to check whether the type is the same as an existing one
(otherwise we risk bad errors due to duplicate specializations, well possible
right now for __float128!).
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).
--
Marc Glisse