From 8a7e8c9917c8fc08df96554e2431bad7306deed6 Mon Sep 17 00:00:00 2001 From: John Winans Date: Fri, 4 Sep 2020 08:17:05 -0500 Subject: [PATCH] Alt mantissa to significand, ref spec for specials --- book/bibliography.bib | 10 ++++++++++ book/float/chapter.tex | 12 +++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/book/bibliography.bib b/book/bibliography.bib index b5833bb..1eb40e4 100644 --- a/book/bibliography.bib +++ b/book/bibliography.bib @@ -159,3 +159,13 @@ howpublished = {\href{https://www.mathsisfun.com/definitions/subtrahend.html}{www.mathsisfun.com/definitions/subtrahend.html}}, note = {Accessed: 2018-06-02} } + +@article{ieee:754, + author={}, + journal={IEEE Std 754-2019 (Revision of IEEE 754-2008)}, + title={IEEE Standard for Floating-Point Arithmetic}, + year={2019}, + volume={}, + number={}, + pages={1-84},} + diff --git a/book/float/chapter.tex b/book/float/chapter.tex index 34b5e52..684161d 100644 --- a/book/float/chapter.tex +++ b/book/float/chapter.tex @@ -8,7 +8,7 @@ \label{chapter::floatingpoint} This section provides an overview of the IEEE-754 32-bit binary floating -point format. +point format.\cite{ieee:754} \begin{itemize} \item Recall that the place values for integer binary numbers are: @@ -121,10 +121,10 @@ min exponent & -126 & -1022 \\ \hline \end{tabular} -\item When the exponent is all ones, the mantissa is all zeros, and +\item When the exponent is all ones, the significand is all zeros, and the sign is zero, the number represents positive infinity. -\item When the exponent is all ones, the mantissa is all zeros, and +\item When the exponent is all ones, the significand is all zeros, and the sign is one, the number represents negative infinity. \item Note that the binary representation of an IEEE-754 number in memory @@ -151,6 +151,12 @@ largest exponent allowed are in the {\em \gls{overflow}} areas. \item Note that numbers have a higher resolution on the number line when the exponent is smaller. + +\item The largest and smallest possible exponent values are reserved to represent +things requiring special cases. For example, the infinities, values representing +``not a number'' (such as the result of dividing by zero), and for a way to represent +values that are not normalized. For more information on special cases see \cite{ieee:754}. + \end{itemize} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%