tmp/tmpai2ihuay/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Comparison operators <a id="simd.comparison">[[simd.comparison]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
friend constexpr mask_type operator==(const basic_vec& lhs, const basic_vec& rhs) noexcept;
|
| 5 |
+
friend constexpr mask_type operator!=(const basic_vec& lhs, const basic_vec& rhs) noexcept;
|
| 6 |
+
friend constexpr mask_type operator>=(const basic_vec& lhs, const basic_vec& rhs) noexcept;
|
| 7 |
+
friend constexpr mask_type operator<=(const basic_vec& lhs, const basic_vec& rhs) noexcept;
|
| 8 |
+
friend constexpr mask_type operator>(const basic_vec& lhs, const basic_vec& rhs) noexcept;
|
| 9 |
+
friend constexpr mask_type operator<(const basic_vec& lhs, const basic_vec& rhs) noexcept;
|
| 10 |
+
```
|
| 11 |
+
|
| 12 |
+
Let *op* be the operator.
|
| 13 |
+
|
| 14 |
+
*Constraints:* `requires (value_type a, value_type b) { a `*`op`*` b; }`
|
| 15 |
+
is `true`.
|
| 16 |
+
|
| 17 |
+
*Returns:* A `basic_mask` object initialized with the results of
|
| 18 |
+
applying *op* to `lhs` and `rhs` as a binary element-wise operation.
|
| 19 |
+
|