Skip to main content

simd_sub

Function simd_sub 

Source
pub const unsafe fn simd_sub<T>(lhs: T, rhs: 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

Subtracts rhs from lhs elementwise.

T must be a vector of integers or floats. For integers, wrapping arithmetic is used.