Skip to content

Commit 7a09ddd

Browse files
authored
[basic.fundamental] Excise normative requirements on std::numeric_limits (#5105)
1 parent 2501fee commit 7a09ddd

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

source/basic.tex

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4985,13 +4985,18 @@
49854985
This document imposes no requirements on the accuracy of
49864986
floating-point operations; see also~\ref{support.limits}.
49874987
\end{note}
4988+
4989+
\pnum
49884990
Integral and floating-point types are collectively
49894991
termed \defnx{arithmetic types}{type!arithmetic}.
4990-
\indextext{\idxcode{numeric_limits}!specializations for arithmetic types}%
4991-
Specializations of the standard library template
4992-
\tcode{std::numeric_limits}\iref{support.limits} shall specify the
4993-
maximum and minimum values of each arithmetic type for an
4994-
implementation.
4992+
\begin{note}
4993+
Properties of the arithmetic types,
4994+
such as their minimum and maximum representable value,
4995+
can be queried using the facilities in the standard library headers
4996+
\libheaderref{limits},
4997+
\libheaderref{climits}, and
4998+
\libheaderref{cfloat}.
4999+
\end{note}
49955000

49965001
\pnum
49975002
\indextext{type!\idxcode{void}}%

0 commit comments

Comments
 (0)