mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix: math functions (support for inferior C++14 standard)
add C++14 constexpr modifying algorithms
This commit is contained in:
parent
58cff54e0d
commit
c58c9cc0fc
106 changed files with 3465 additions and 2144 deletions
|
@ -14,12 +14,6 @@
|
|||
# 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 (FLT_RADIX == 2)
|
||||
# define SPROUT_FLT_RADIX_IS_2 1
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue