Skip to content

Commit 87188f1

Browse files
committed
[basic.fundamental] Exhaustively list what values can be represented by floating-point types
1 parent ff706ad commit 87188f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/basic.tex

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5549,6 +5549,19 @@
55495549
The standard and extended floating-point types
55505550
are collectively termed \defnx{floating-point types}{type!floating-point}.
55515551
\begin{note}
5552+
A floating-point type can represent
5553+
\begin{itemize}
5554+
\item a subset of rational numbers,
5555+
\item possibly, a negative zero,
5556+
\item possibly, a positive infinity,
5557+
\item possibly, a negative infinity,
5558+
\item possibly, a set of quiet ``Not a Number'' values, and
5559+
\item possibly, a set of signaling ``Not a Number'' values.
5560+
\end{itemize}
5561+
A floating-point type which adheres to \IsoFloatUndated{}
5562+
is capable of representing all of the above\iref{numeric.limits.members}.
5563+
\end{note}
5564+
\begin{note}
55525565
Any additional implementation-specific types representing floating-point values
55535566
that are not defined by the implementation to be extended floating-point types
55545567
are not considered to be floating-point types, and

0 commit comments

Comments
 (0)