Repository navigation
Conversation
|
@jwakely I took the liberty to add the missing |
908fd21 to
b0ec1c6
Compare
b0ec1c6 to
3f4da92
Compare
| \item \exposid{high-bits} stores the subsequent $N$ bits of $c$. | ||
| \end{itemize} | ||
| \begin{formula}{numeric.clmul} | ||
| c_i = \bigoplus_{j = 0}^i x_i y_{i - j} |
There was a problem hiding this comment.
typo here; should be x_j
(the paper's actual formula uses x_j, but its drafting note has this typo)
| #define @\defnlibxname{cpp_lib_shift}@ 202202L // also in \libheader{algorithm} | ||
| #define @\defnlibxname{cpp_lib_simd}@ 202606L // also in \libheader{simd} | ||
| #define @\defnlibxname{cpp_lib_simd_bitops}@ 202607L // also in \libheader{simd} | ||
| #define @\defnlibxname{cpp_lib_simd_clmul}@ 202611L // also in \libheader{numeric} |
There was a problem hiding this comment.
paper says "define __cpp_lib_simd_clmul 20????L // also in <simd>", numeric is probably copy-paste typo?
|
|
||
| \begin{itemdescr} | ||
| \pnum | ||
| The type \tcode{V::value_type} is an unsigned integer type\iref{basic.fundamental}. |
There was a problem hiding this comment.
missing \constraints ? Paper says "1 Constraints: The type..."
| constexpr T low() const noexcept { return @\exposid{low-bits}@; } | ||
|
|
||
| friend constexpr bool operator==(const wide_result&, const wide_result&) = default; | ||
| friend constexpr strong_ordering operator<=>(const wide_result& x, const wide_result& y) |
There was a problem hiding this comment.
header numeric now uses strong_ordering? Can #include <compare> be added editorially?
There was a problem hiding this comment.
Maybe there should be an LWG issue. It's already weird that <algorithm> provides lexicographical_compare_three_way but isn't specified to include <compare>.
|
|
||
| \pnum | ||
| \returns | ||
| An object where the $i^{\textrm{th}}$ element is initialized to the result of |
There was a problem hiding this comment.
paper says "2 Returns: A basic_vec object where " and also links numeric.clmul after b[i]?
Fixes #9415
Also fixes cplusplus/papers#2279