mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix math implementation.
This commit is contained in:
parent
3500d0d49c
commit
1636398742
49 changed files with 227 additions and 456 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/type_traits/enabler_if.hpp>
|
||||
#include <sprout/math/detail/config.hpp>
|
||||
#include <sprout/math/isnan.hpp>
|
||||
#include <sprout/math/isinf.hpp>
|
||||
#include <sprout/math/iszero.hpp>
|
||||
|
@ -28,11 +29,7 @@ namespace sprout {
|
|||
}
|
||||
} // namespace detail
|
||||
|
||||
# if SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
||||
using std::fpclassify;
|
||||
# else
|
||||
using sprout::math::detail::fpclassify;
|
||||
# endif
|
||||
using NS_SPROUT_MATH_DETAIL::fpclassify;
|
||||
} // namespace math
|
||||
|
||||
using sprout::math::fpclassify;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue