118a93e3a6
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".
17 lines
328 B
C++
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;
|
|
}
|
|
|
|
|