1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix math functions

This commit is contained in:
bolero-MURAKAMI 2013-05-08 01:46:40 +09:00
parent 3498e9214f
commit 9247693c63
13 changed files with 159 additions and 67 deletions

View file

@ -18,7 +18,7 @@ namespace sprout {
>
inline SPROUT_CONSTEXPR bool
less_equal(FloatType1 x, FloatType2 y) {
return sprout::math::not_equal_to(x, y) || x < y;
return sprout::math::equal_to(x, y) || x < y;
}
template<