Those intrinsics have the correct semantics for the desired fcvtz instruction, without any undefined behaviour. The previous simd_cast was undefined for infinite and NaN which could cause issues.
Those intrinsics have the correct semantics for the desired fcvtz instruction, without any undefined behaviour. The previous simd_cast was undefined for infinite and NaN which could cause issues.