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
|
@ -4,12 +4,10 @@
|
|||
#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/issubnormal.hpp>
|
||||
#if SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
namespace sprout {
|
||||
namespace math {
|
||||
|
@ -27,11 +25,7 @@ namespace sprout {
|
|||
}
|
||||
} // namespace detail
|
||||
|
||||
# if SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
||||
using std::isnormal;
|
||||
# else
|
||||
using sprout::math::detail::isnormal;
|
||||
# endif
|
||||
using NS_SPROUT_MATH_DETAIL::isnormal;
|
||||
} // namespace math
|
||||
|
||||
using sprout::math::isnormal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue