* @brief Return the absolute value of the float vector. */
| 763 | * @brief Return the absolute value of the float vector. |
| 764 | */ |
| 765 | ASTCENC_SIMD_INLINE vfloat abs(vfloat a) |
| 766 | { |
| 767 | return vfloat(__riscv_vfabs(a.m, vfloat::vl())); |
| 768 | } |
| 769 | |
| 770 | /** |
| 771 | * @brief Return a float rounded to the nearest integer value. |