You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/standard-library/vectorized-stl-algorithms.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Vectorization of floating-point types involves specific considerations:
67
67
- Floating point operations may raise exceptions.
68
68
69
69
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.
71
71
- Since these are sorting algorithms, `NaN` values aren't allowed inputs.
72
72
73
73
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