]> git.lizzy.rs Git - rust.git/blob - library/portable-simd/crates/core_simd/src/vector/float.rs
Rollup merge of #107108 - sulami:issue-83968-doc-alias-typo-suggestions, r=compiler...
[rust.git] / library / portable-simd / crates / core_simd / src / vector / float.rs
1 #![allow(non_camel_case_types)]
2
3 use crate::simd::Simd;
4
5 /// A 64-bit SIMD vector with two elements of type `f32`.
6 pub type f32x2 = Simd<f32, 2>;
7
8 /// A 128-bit SIMD vector with four elements of type `f32`.
9 pub type f32x4 = Simd<f32, 4>;
10
11 /// A 256-bit SIMD vector with eight elements of type `f32`.
12 pub type f32x8 = Simd<f32, 8>;
13
14 /// A 512-bit SIMD vector with 16 elements of type `f32`.
15 pub type f32x16 = Simd<f32, 16>;
16
17 /// A 128-bit SIMD vector with two elements of type `f64`.
18 pub type f64x2 = Simd<f64, 2>;
19
20 /// A 256-bit SIMD vector with four elements of type `f64`.
21 pub type f64x4 = Simd<f64, 4>;
22
23 /// A 512-bit SIMD vector with eight elements of type `f64`.
24 pub type f64x8 = Simd<f64, 8>;