boostorg / math

Boost.org math module
http://boost.org/libs/math
Boost Software License 1.0
308 stars 221 forks source link

boost::math::cstdfloat::detail::float_internal128_t #998

Open gpeterhoff opened 1 year ago

gpeterhoff commented 1 year ago

Hello, in boost::math::cstdfloat there are several inconsistencies with __float128/_Quad. Generally these are only available with gcc and intel. Since I don't have an intel compiler myself, you might have to modify this path; for now it should behave like the previous implementations.

types <boost/math/cstdfloat/cstdfloat_types.hpp> intel https://community.intel.com/t5/Intel-C-Compiler/C-Compiler-128-bit-floating-point/m-p/1216949

defines/constants <boost/math/cstdfloat/cstdfloat_types.hpp> gcc

functions <boost/math/cstdfloat/cstdfloat_cmath.hpp> modified:

limits <boost/math/cstdfloat/cstdfloat_limits.hpp> All functions can now be provided constexpr noexcept.

future

cstdfloat_types.hpp.txt cstdfloat_cmath.hpp.txt cstdfloat_limits.hpp.txt

thx Gero

gpeterhoff commented 1 year ago

spelling error BOOST_CSTDFLOAT_FLOAT128_QUIET_NAN (instead of BOOST_CSTDFLOAT_FLOAT128_QUIT_NAN)