Consistency f64 and std::Simd<f64, N>
hexqnt
·
2026-04-21
·
via The Rust Programming Language Forum - Latest topics
Does 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 Read full topic
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。