Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit567096d

Browse files
authored
Rollup merge ofrust-lang#125497 - meesfrensel:patch-1, r=calebzulawski
Fix some SIMD intrinsics documentationSpotted some mistakes in the docs of some SIMD intrinsics.
2 parents88f0106 +2b1602a commit567096d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎core/src/intrinsics/simd.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ extern "rust-intrinsic" {
152152
#[rustc_nounwind]
153153
pubfnsimd_fabs<T>(x:T) ->T;
154154

155-
/// Elementwise minimum ofa vector.
155+
/// Elementwise minimum oftwo vectors.
156156
///
157157
/// `T` must be a vector of floating-point primitive types.
158158
///
159159
/// Follows IEEE-754 `minNum` semantics.
160160
#[rustc_nounwind]
161161
pubfnsimd_fmin<T>(x:T,y:T) ->T;
162162

163-
/// Elementwise maximum ofa vector.
163+
/// Elementwise maximum oftwo vectors.
164164
///
165165
/// `T` must be a vector of floating-point primitive types.
166166
///
@@ -387,7 +387,7 @@ extern "rust-intrinsic" {
387387
#[rustc_nounwind]
388388
pubfnsimd_reduce_mul_ordered<T,U>(x:T,y:U) ->U;
389389

390-
///Add elements within a vector in arbitrary order. May also be re-associated with
390+
///Multiply elements within a vector in arbitrary order. May also be re-associated with
391391
/// unordered additions on the inputs/outputs.
392392
///
393393
/// `T` must be a vector of integer or floating-point primitive types.
@@ -405,7 +405,7 @@ extern "rust-intrinsic" {
405405
#[rustc_nounwind]
406406
pubfnsimd_reduce_all<T>(x:T) ->bool;
407407

408-
/// Check ifall maskvalues are true.
408+
/// Check ifany maskvalue is true.
409409
///
410410
/// `T` must be a vector of integer primitive types.
411411
///

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp