Skip to content

Commit

Permalink
Merge pull request #641 from boostorg/pgi
Browse files Browse the repository at this point in the history
Disable check for `__float128` on PGI compiler
  • Loading branch information
mborland authored Nov 6, 2024
2 parents 18be0ff + 5108a96 commit 92aaa55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/multiprecision/detail/number_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ struct bits_of
: sizeof(T) * CHAR_BIT - (boost::multiprecision::detail::is_signed<T>::value ? 1 : 0);
};

#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__)
#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC) && !defined(__STRICT_ANSI__) && !defined(__PGI)
#define BOOST_MP_BITS_OF_FLOAT128_DEFINED
template <>
struct bits_of<float128_type>
Expand Down

0 comments on commit 92aaa55

Please sign in to comment.