pub const unsafe fn simd_neg<T>(x: T) -> T🔬This is a nightly-only experimental API. (
core_intrinsics)This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description
Negates a vector elementwise.
T must be a vector of integers or floats.
For integers, wrapping arithmetic is used.