]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/multiprecision/config/has_float128.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / config / has_float128.cpp
CommitLineData
7c673cae
FG
1// Copyright John Maddock 2013.
2// Use, modification and distribution are subject to the
3// Boost Software License, Version 1.0. (See accompanying file
4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
b32b8144
FG
6#include <boost/config.hpp>
7
8#ifndef BOOST_HAS_FLOAT128
9#error "This doesn't work unless Boost.Config enables __float128 support"
10#endif
11
7c673cae
FG
12extern "C" {
13#include <quadmath.h>
14}
15
16int main()
17{
18 __float128 f = -2.0Q;
92f5a8d4
TL
19 f = fabsq(f);
20 f = expq(f);
7c673cae
FG
21
22 return 0;
23}