Function core::core_simd::intrinsics::simd_as

source ·
pub(crate) unsafe extern "platform-intrinsic" fn simd_as<T, U>(
    x: T
) -> U
🔬This is a nightly-only experimental API. (portable_simd #86656)
Expand description

follows Rust’s T as U semantics, including saturating float casts which amounts to the same as simd_cast for many cases