W3cubDocs

/Rust

Function simd_saturating_sub

pub const unsafe fn simd_saturating_sub<T>(lhs: T, rhs: T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)

Subtracts two simd vectors elementwise, with saturation.

T must be a vector of integer primitive types.

Subtract rhs from lhs.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/simd/fn.simd_saturating_sub.html