summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/config/test/boost_has_float128.ipp
blob: 80b211c145707fec3b1fec44b1a4769ef3447bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//  (C) Copyright John Maddock 2012. 
//  Use, modification and distribution are subject to the 
//  Boost Software License, Version 1.0. (See accompanying file 
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

//  See http://www.boost.org/libs/config for most recent version.

//  MACRO:         BOOST_HAS_FLOAT128
//  TITLE:         __float128
//  DESCRIPTION:   The platform supports __float128.

#include <cstdlib>


namespace boost_has_float128{

int test()
{
#ifdef __GNUC__
   __extension__ __float128 big_float = 0.0Q;
#else
   __float128 big_float = 0.0Q;
#endif
   (void)&big_float;
   return 0;
}

}