math/config/has_intel_quad.cpp
jzmaddock 118a93e3a6 Add tests for cstdfloat.hpp defined types.
Fix Math code to not use lexical_cast for constants for boost::floatmax_t when that type is __float128.
Fix constant usage so it doesn't break when the suffix is "Q".
2014-02-15 11:14:00 +00:00

17 lines
328 B
C++

// 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;
f = __fabsq(f);
return 0;
}