X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fsam.git;a=blobdiff_plain;f=chapters%2FBackground%2FFloats%2FOperations.tex;fp=chapters%2FBackground%2FFloats%2FOperations.tex;h=5624892996930cac90b0defca2ddb9236a0bd0d6;hp=1a724f97580290630835a14e7eb38ab385249e18;hb=689e433b348588e05f47d23385dbf05d239c95d2;hpb=67c33e185edd820e2ea6fef334455645bacd432b diff --git a/chapters/Background/Floats/Operations.tex b/chapters/Background/Floats/Operations.tex index 1a724f9..5624892 100644 --- a/chapters/Background/Floats/Operations.tex +++ b/chapters/Background/Floats/Operations.tex @@ -1,6 +1,5 @@ - -Real values which cannot be represented exactly in a floating point representation must be rounded to the nearest floating point value. The results of a floating point operation will in general be such values and thus there is a rounding error possible in any floating point operation. Referring to Figure \ref{floats.pdf} it can be seen that the largest possible rounding error is half the distance between successive floats; this means that rounding errors increase as the value to be represented increases. +Real values which cannot be represented exactly in a floating point representation must be rounded to the nearest floating point value. The results of a floating point operation will in general be such values and thus there is a rounding error possible in any floating point operation. Referring to Figure \ref{floats.pdf} it can be seen that the largest possible rounding error is half the distance between successive floats; this means that rounding errors increase as the value to be represented increases. For the result of a particular operation, the maximum possible rounding error can be determined and is commonly expressed in ``units in the last place'' (ulp), with 1 ulp equivelant to half the distance between successive floats\cite{goldberg1991whatevery}.