Skip to content

Commit 3b51264

Browse files
committed
LWG4315 Insufficient specification of vector_two_norm and matrix_frob_norm
Fixes NB US 171-274 (C++26 CD).
1 parent 4501cc9 commit 3b51264

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/numerics.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13803,6 +13803,8 @@
1380313803

1380413804
\pnum
1380513805
\mandates
13806+
\tcode{InVec::value_type} and \tcode{Scalar} are either a floating-point type, or
13807+
a specialization of \tcode{complex}.
1380613808
Let \tcode{a} be
1380713809
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
1380813810
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
@@ -13817,9 +13819,7 @@
1381713819

1381813820
\pnum
1381913821
\remarks
13820-
If \tcode{InVec::value_type}, and \tcode{Scalar}
13821-
are all floating-point types or specializations of \tcode{complex},
13822-
and if \tcode{Scalar} has higher precision
13822+
If \tcode{Scalar} has higher precision
1382313823
than \tcode{InVec::value_type},
1382413824
then intermediate terms in the sum use \tcode{Scalar}'s precision or greater.
1382513825
\begin{note}
@@ -14009,6 +14009,8 @@
1400914009

1401014010
\pnum
1401114011
\mandates
14012+
\tcode{InVec::value_type} and \tcode{Scalar} are either a floating-point type, or
14013+
a specialization of \tcode{complex}.
1401214014
Let \tcode{a} be
1401314015
\tcode{\exposid{abs-if-needed}(declval<typename InMat::value_type>())}.
1401414016
Then, \tcode{decltype(\linebreak init + a * a)}
@@ -14025,9 +14027,7 @@
1402514027

1402614028
\pnum
1402714029
\remarks
14028-
If \tcode{InMat::value_type} and \tcode{Scalar}
14029-
are all floating-point types or specializations of \tcode{complex},
14030-
and if \tcode{Scalar} has higher precision
14030+
If \tcode{Scalar} has higher precision
1403114031
than \tcode{InMat::value_type},
1403214032
then intermediate terms in the sum use \tcode{Scalar}'s precision or greater.
1403314033
\end{itemdescr}

0 commit comments

Comments
 (0)