Numerical Methods I - Roundoff Errors
Numerical Methods I - Roundoff Errors
Neft və Sənaye
Universiteti
Numerical
Methods I
Round-Off Errors
We can now proceed to the two types
of error connected directly with
numerical methods:
• ;
• .
Recall that
• errors originate from the fact that
computers retain only a fixed
number of significant figures during
Numbers such as or cannot be
expressed by a fixed number of
significant figures.
Floating-point representation
allows both fractions and very large
numbers to be expressed on the
However it has some disadvantages:
• For example floating-point numbers
take up more room and take longer
to process than integer numbers.
• More significantly, however, their
use introduces a source of error
because the mantissa holds only a
finite number of significant figures.
Thus a is introduced.
. Hypothetical Set of Floating-Point
Numbers
Create a hypothetical floating-point
number set for a machine that stores
information using bit words.
• is called an in
However . addition to large
quantities the floating-point
representation has the added
limitation that very small numbers
cannot be represented.
This is illustrated by the underflow
• There are only a finite number of
quantities that can be represented
within the range – thus, the degree
of precision
Obviously, is limited.
irrational numbers
cannot be represented exactly.