From a49d56ffd21eb3b16d1695d5c99d369a7d9f8f1f Mon Sep 17 00:00:00 2001 From: ckormanyos Date: Sat, 24 Jan 2026 20:30:09 +0100 Subject: [PATCH 1/2] Pick up arm-none-eabi float traits --- include/boost/math/special_functions/detail/fp_traits.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/math/special_functions/detail/fp_traits.hpp b/include/boost/math/special_functions/detail/fp_traits.hpp index 015f8c6a34..f8ec70bff2 100644 --- a/include/boost/math/special_functions/detail/fp_traits.hpp +++ b/include/boost/math/special_functions/detail/fp_traits.hpp @@ -272,7 +272,9 @@ template<> struct fp_traits_non_native #if defined(BOOST_NO_INT64_T) || defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)\ || defined(BOOST_BORLANDC) || defined(__CODEGEAR__) || (defined(__APPLE__) && defined(__aarch64__)) || defined(_MSC_VER)\ - || (defined(__GNUC__) && defined(__aarch64__) && defined(_WIN32)) || defined(__SYCL_DEVICE_ONLY__) + || (defined(__GNUC__) && defined(__aarch64__) && defined(_WIN32))\ + || (defined(__arm__) || defined(__thumb__))\ + || defined(__SYCL_DEVICE_ONLY__) static_assert(LDBL_MANT_DIG == 53, "Oops, assumption that long double is a 64-bit quantity is incorrect!!"); From 2f7b18c126914aab9117e391299f9a556121c99e Mon Sep 17 00:00:00 2001 From: ckormanyos Date: Sat, 24 Jan 2026 20:32:02 +0100 Subject: [PATCH 2/2] Follow the given standard pattern in PP --- include/boost/math/special_functions/detail/fp_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/special_functions/detail/fp_traits.hpp b/include/boost/math/special_functions/detail/fp_traits.hpp index f8ec70bff2..237d3b662d 100644 --- a/include/boost/math/special_functions/detail/fp_traits.hpp +++ b/include/boost/math/special_functions/detail/fp_traits.hpp @@ -273,7 +273,7 @@ template<> struct fp_traits_non_native #if defined(BOOST_NO_INT64_T) || defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)\ || defined(BOOST_BORLANDC) || defined(__CODEGEAR__) || (defined(__APPLE__) && defined(__aarch64__)) || defined(_MSC_VER)\ || (defined(__GNUC__) && defined(__aarch64__) && defined(_WIN32))\ - || (defined(__arm__) || defined(__thumb__))\ + || (defined(__GNUC__) && (defined(__arm__) || defined(__thumb__)))\ || defined(__SYCL_DEVICE_ONLY__) static_assert(LDBL_MANT_DIG == 53, "Oops, assumption that long double is a 64-bit quantity is incorrect!!");