| 285 | // ===== Constexpr helpers ===================================================== |
| 286 | |
| 287 | constexpr int ceil_constexpr(float value) FL_NOEXCEPT { |
| 288 | return static_cast<int>((value > static_cast<float>(static_cast<int>(value))) |
| 289 | ? static_cast<int>(value) + 1 |
| 290 | : static_cast<int>(value)); |
| 291 | } |
| 292 | |
| 293 | // ===== Rounding ============================================================== |
| 294 | // |
no outgoing calls
no test coverage detected