Skip to content

Commit 27b7e12

Browse files
committed
edit
1 parent 279a1dc commit 27b7e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/vectorized-stl-algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Vectorization of floating-point types involves specific considerations:
6767
- Floating point operations may raise exceptions.
6868

6969
The STL deals with the first two considerations safely. Only `max_element`, `min_element`, `minmax_element`, `max`, `min`, `minmax`, `is_sorted`, and `is_sorted_until` are manually vectorized. These algorithms:
70-
- Avoid computing new floating-point values; instead, they compare existing values to ensure that differences in operation order don't impact precision.
70+
- Don’t compute new floating-point values. Instead, they only compare existing values to ensure that differences in operation order don't impact precision.
7171
- Since these are sorting algorithms, `NaN` values aren't allowed inputs.
7272

7373
Use `_USE_STD_VECTOR_FLOATING_ALGORITHMS` to control the use of these vectorized algorithms for floating point types. Set it to 0 to disable vectorization. `_USE_STD_VECTOR_FLOATING_ALGORITHMS` has no effect if `_USE_STD_VECTOR_ALGORITHMS` is set to 0.

0 commit comments

Comments
 (0)