| 544 | // Step: fl::step(FP(0.5f), FP(0.7f)) → 1.0 |
| 545 | template <typename T> |
| 546 | inline constexpr typename enable_if<is_fixed_point<T>::value, T>::type |
| 547 | step(T edge, T x) FL_NOEXCEPT { return T::step(edge, x); } |
| 548 | |
| 549 | // Smooth Hermite interpolation: fl::smoothstep(FP(0.0f), FP(1.0f), FP(0.5f)) ≈ 0.5 |
| 550 | template <typename T> |
no outgoing calls
no test coverage detected