Skip to content

Commit d8597d3

Browse files
authored
Merge pull request #1352 from boostorg/issue1348_arm_none_eabi
Pick up arm-none-eabi float traits
2 parents 627174f + 2f7b18c commit d8597d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/boost/math/special_functions/detail/fp_traits.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ template<> struct fp_traits_non_native<double, double_precision>
272272

273273
#if defined(BOOST_NO_INT64_T) || defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)\
274274
|| defined(BOOST_BORLANDC) || defined(__CODEGEAR__) || (defined(__APPLE__) && defined(__aarch64__)) || defined(_MSC_VER)\
275-
|| (defined(__GNUC__) && defined(__aarch64__) && defined(_WIN32)) || defined(__SYCL_DEVICE_ONLY__)
275+
|| (defined(__GNUC__) && defined(__aarch64__) && defined(_WIN32))\
276+
|| (defined(__GNUC__) && (defined(__arm__) || defined(__thumb__)))\
277+
|| defined(__SYCL_DEVICE_ONLY__)
276278

277279
static_assert(LDBL_MANT_DIG == 53, "Oops, assumption that long double is a 64-bit quantity is incorrect!!");
278280

0 commit comments

Comments
 (0)