mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
21 lines
644 B
C++
21 lines
644 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_NOERROR_LARGE_FLOAT_ROUNDING
|
|
# define SPROUT_MATH_THROW_LARGE_FLOAT_ROUNDING(e, x) (x)
|
|
#else
|
|
# define SPROUT_MATH_THROW_LARGE_FLOAT_ROUNDING(e, x) throw (e)
|
|
#endif
|
|
|
|
#endif // #ifndef SPROUT_MATH_DETAIL_CONFIG_HPP
|