fix math functions

This commit is contained in:
bolero-MURAKAMI 2013-04-29 10:56:46 +09:00
parent 2e2b6c96ab
commit ffb876c930
23 changed files with 85 additions and 37 deletions

View file

@ -12,7 +12,7 @@ namespace sprout {
typename FloatType,
typename sprout::enabler_if<std::is_floating_point<FloatType>::value>::type = sprout::enabler
>
inline SPROUT_CONSTEXPR int
inline SPROUT_CONSTEXPR bool
iszero(FloatType x) {
return x == 0;
}