mirror of
https://github.com/boostorg/math.git
synced 2026-01-28 07:22:12 +00:00
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".
23 lines
533 B
C++
23 lines
533 B
C++
// Copyright John Maddock 2014.
|
|
// 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)
|
|
|
|
#define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
|
|
|
|
#include "poison.hpp"
|
|
|
|
#include <boost/cstdfloat.hpp>
|
|
#include <boost/math/concepts/distributions.hpp>
|
|
|
|
#include "instantiate.hpp"
|
|
|
|
int main(int argc, char*[])
|
|
{
|
|
#ifdef BOOST_FLOAT128_C
|
|
if(argc > 1000)
|
|
instantiate(BOOST_FLOAT128_C(1.23));
|
|
#endif
|
|
}
|
|
|