mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix math functions
This commit is contained in:
parent
3498e9214f
commit
9247693c63
13 changed files with 159 additions and 67 deletions
|
@ -17,7 +17,7 @@ namespace sprout {
|
|||
>::type = sprout::enabler
|
||||
>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
greater_equal_equal(FloatType1 x, FloatType2 y) {
|
||||
greater_equal(FloatType1 x, FloatType2 y) {
|
||||
return sprout::math::equal_to(x, y) || x > y;
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ namespace sprout {
|
|||
}
|
||||
} // namespace detail
|
||||
//
|
||||
// greater_equal_equal
|
||||
// greater_equal
|
||||
//
|
||||
template<
|
||||
typename T, typename U,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue