1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add workaround for archlinux 64 bit

This commit is contained in:
bolero-MURAKAMI 2017-07-31 10:31:34 +09:00
parent 55999cff82
commit 5905422433
4 changed files with 10 additions and 7 deletions

View file

@ -41,7 +41,7 @@ namespace sprout {
typename sprout::enabler_if<std::is_floating_point<FloatType>::value>::type = sprout::enabler
>
inline SPROUT_CONSTEXPR bool
issubnormal(FloatType x) {
issubnormal SPROUT_PREVENT_MACRO_SUBSTITUTION (FloatType x) {
return !sprout::math::isnan(x)
&& !sprout::math::iszero(x)
&& sprout::math::detail::issubnormal_or_zero(x)