boost/libs/multiprecision/config/has_intel_quad.cpp

15 lines
332 B
C++
Raw Permalink Normal View History

2018-01-12 21:47:58 +01:00
// Copyright John Maddock 2013.
// 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)
extern "C" _Quad __fabs(_Quad);
int main()
{
_Quad f = -2.0Q;
2021-10-05 21:37:46 +02:00
f = __fabsq(f);
2018-01-12 21:47:58 +01:00
return 0;
}