1
0
Fork 0
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:
bolero-MURAKAMI 2012-06-23 13:22:50 +09:00
parent 3500d0d49c
commit 1636398742
49 changed files with 227 additions and 456 deletions

View file

@ -3,12 +3,10 @@
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/math/detail/config.hpp>
#include <sprout/math/sin.hpp>
#include <sprout/math/cos.hpp>
#include <sprout/type_traits/enabler_if.hpp>
#if SPROUT_USE_BUILTIN_CMATH_FUNCTION
# include <cmath>
#endif
namespace sprout {
namespace math {
@ -32,11 +30,7 @@ namespace sprout {
}
} // namespace detail
# if SPROUT_USE_BUILTIN_CMATH_FUNCTION
using std::tan;
# else
using sprout::math::detail::tan;
# endif
using NS_SPROUT_MATH_DETAIL::tan;
} // namespace math
using sprout::math::tan;