W3cubDocs

/Rust

Function simd_sub

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

Subtracts rhs from lhs elementwise.

T must be a vector of integers or floats.

© 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_sub.html