From 177c093151c0b8a5b21d4b2e91cff2264dc69788 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 14 Sep 2021 18:57:33 +0300 Subject: [PATCH] Automatically use generic cmath if FP_SUBNORMAL isn't defined --- include/boost/core/cmath.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/core/cmath.hpp b/include/boost/core/cmath.hpp index 266e2f7..a18c81b 100644 --- a/include/boost/core/cmath.hpp +++ b/include/boost/core/cmath.hpp @@ -12,13 +12,13 @@ // Floating point classification and sign manipulation functions // Extracted from https://github.com/boostorg/lexical_cast/pull/37 // -// Copyright 2020 Peter Dimov +// Copyright 2020, 2021 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include -#if defined(BOOST_CORE_USE_GENERIC_CMATH) +#if defined(BOOST_CORE_USE_GENERIC_CMATH) || (!defined(_MSC_VER) && !defined(FP_SUBNORMAL)) #include #include