| 549 | // Smooth Hermite interpolation: fl::smoothstep(FP(0.0f), FP(1.0f), FP(0.5f)) ≈ 0.5 |
| 550 | template <typename T> |
| 551 | inline typename enable_if<is_fixed_point<T>::value, T>::type |
| 552 | smoothstep(T edge0, T edge1, T x) FL_NOEXCEPT { return T::smoothstep(edge0, edge1, x); } |
| 553 | |
| 554 | // ---- Roots / powers ---- |
| 555 |
no outgoing calls