Six or seven. To be safe, count on no better than six digits of accuracy. This program uses five place accuracy.
The
value in f10
is used to test if the
five digits of accuracy have been reached.
We will do this in a moment.
Here is the part of the program that uses the formula:
But part of each menemonic is missing! Fill them in. You may wish to look at floating point operations.