Consistency f64 and std::Simd
⚓ Rust 📅 2026-04-20 👤 surdeus 👁️ 3Does anyone know how functions are added to std::Simd? For example, sin() is available in both f64 and std::Simd<f64, N>, but sin_cos() is only available in f64. The same applies to other functions: powf, hypot, atan2, ln_1p, exp_1m etc.
Should we expect std::Simd to include element-by-element emulation (lane-wise scalar fallback) of wide operations/functions?
1 post - 1 participant
🏷️ Rust_feed