| 539 | // Clamp to range: fl::clamp(FP(5.0f), FP(0.0f), FP(3.0f)) → 3.0 |
| 540 | template <typename T> |
| 541 | inline constexpr typename enable_if<is_fixed_point<T>::value, T>::type |
| 542 | clamp(T x, T lo, T hi) FL_NOEXCEPT { return T::clamp(x, lo, hi); } |
| 543 | |
| 544 | // Step: fl::step(FP(0.5f), FP(0.7f)) → 1.0 |
| 545 | template <typename T> |
no outgoing calls