

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
-
14
New issue Add saturating abs/neg #87 Merged ...
-
7
Copy link Contributor workingjubilee...
-
6
New issue More portable SIMD: rem, shl, shr #1923
-
5
Copy link Contributor workingjubilee...
-
9
Copy link Contributor workingjubilee ...
-
12
Copy link Contributor
-
4
Is "Not intended to be called" any different from "it is UB to be called that way"? If 0 and -1 are the only possible values, the "returns the most significant bit (MSB...
-
8
New issue implement simd_neg and simd_fabs #1997
-
8
Copy link Contributor
-
7
Conversation Contributor A whil...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK