Add Simd::cast by workingjubilee · Pull Request #232 · rust-lang/portable-simd ·...
source link: https://github.com/rust-lang/portable-simd/pull/232
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
We've gotten a few requests for some kind of cast, and I needed a reason to force myself to work through learning about 2FA hardware keys. I know there's been some discussion about what exactly to do, but I believe we were drifting in the direction of providing this function?
Also, thanks @calebzulawski for implementing the saturating intrinsic!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK