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:
parent
3498e9214f
commit
9247693c63
13 changed files with 159 additions and 67 deletions
|
@ -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<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue