![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
|
constexprnoexcept |
Check if two fractions can be directly compared (by cross multiplying them) without overflowing.
| left | The left side of the comparison |
| right | The right side of the comparison |
true if left < right can be directly computed without overflowing; false if not Check if the left fraction is less than the right or not.
| left | The fraction on the left side of the comparison |
| right | The fraction on the right side of the comparison |
true if left < right, false if not