* @brief Return a clamped value between 0.0f and 1.0f. * * If @c a is NaN then zero will be returned for that lane. */
| 755 | * If @c a is NaN then zero will be returned for that lane. |
| 756 | */ |
| 757 | ASTCENC_SIMD_INLINE vfloat clampzo(vfloat a) |
| 758 | { |
| 759 | return clamp(0.0f, 1.0f, a); |
| 760 | } |
| 761 | |
| 762 | /** |
| 763 | * @brief Return the absolute value of the float vector. |