@@ -335,16 +335,12 @@ extern "platform-intrinsic" {
335
335
/// Starting with the value `y`, add the elements of `x` and accumulate.
336
336
pub fn simd_reduce_add_ordered < T , U > ( x : T , y : U ) -> U ;
337
337
338
- /// Add elements within a vector in arbitrary order, and without regard
339
- /// for signed zeros .
338
+ /// Add elements within a vector in arbitrary order. May also be re-associated with
339
+ /// unordered additions on the inputs/outputs .
340
340
///
341
341
/// `T` must be a vector of integer or floating-point primitive types.
342
342
///
343
343
/// `U` must be the element type of `T`.
344
- ///
345
- /// # Safety
346
- ///
347
- /// All input elements must be finite (i.e., not NAN and not +/- INF).
348
344
pub fn simd_reduce_add_unordered < T , U > ( x : T ) -> U ;
349
345
350
346
/// Multiply elements within a vector from left to right.
@@ -356,16 +352,12 @@ extern "platform-intrinsic" {
356
352
/// Starting with the value `y`, multiply the elements of `x` and accumulate.
357
353
pub fn simd_reduce_mul_ordered < T , U > ( x : T , y : U ) -> U ;
358
354
359
- /// Multiply elements within a vector in arbitrary order, and without regard
360
- /// for signed zeros .
355
+ /// Add elements within a vector in arbitrary order. May also be re-associated with
356
+ /// unordered additions on the inputs/outputs .
361
357
///
362
358
/// `T` must be a vector of integer or floating-point primitive types.
363
359
///
364
360
/// `U` must be the element type of `T`.
365
- ///
366
- /// # Safety
367
- ///
368
- /// All input elements must be finite (i.e., not NAN and not +/- INF).
369
361
pub fn simd_reduce_mul_unordered < T , U > ( x : T ) -> U ;
370
362
371
363
/// Check if all mask values are true.
0 commit comments