Function simd_neg
unsafe const fn simd_neg<T>(x: T) -> T
Negates a vector elementwise.
T must be a vector of integers or floats.
Rust panics for -<int>::Min due to overflow, but it is not UB with this intrinsic.
simd_negunsafe const fn simd_neg<T>(x: T) -> T
Negates a vector elementwise.
T must be a vector of integers or floats.
Rust panics for -<int>::Min due to overflow, but it is not UB with this intrinsic.