mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +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
|