mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-25 21:35:41 +00:00
18b479e3ac
fix math cos
21 lines
655 B
C++
21 lines
655 B
C++
#ifndef SPROUT_MATH_DETAIL_CONFIG_HPP
|
|
#define SPROUT_MATH_DETAIL_CONFIG_HPP
|
|
|
|
#include <sprout/config.hpp>
|
|
#if SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
|
# include <cmath>
|
|
#endif
|
|
|
|
#if SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
|
# define NS_SPROUT_MATH_DETAIL std
|
|
#else // #ifndef SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
|
# define NS_SPROUT_MATH_DETAIL sprout::math::detail
|
|
#endif // #ifndef SPROUT_USE_BUILTIN_CMATH_FUNCTION
|
|
|
|
#if SPROUT_NOTHROW_INT_CONVERSION_OVERFLOW
|
|
# define SPROUT_MATH_DETAIL_INT_CONVERSION_OVERFLOW(e, x) (x)
|
|
#else
|
|
# define SPROUT_MATH_DETAIL_INT_CONVERSION_OVERFLOW(e, x) throw (e)
|
|
#endif
|
|
|
|
#endif // #ifndef SPROUT_MATH_DETAIL_CONFIG_HPP
|