At 12:26 PM 11/2/98 +0100, Bojan Antonovic wrote:

>True and not true. To avoid to have very high precision there are reules how
to 
>compute results of functions. For example if you want to add a serie of
numers

>first begin with the smallest and then raise up to the highest.
>
>Am small example:
>
>rounding after 2nd decimal after point
>
>1.00E0 + 1.00E-1 = 1.01E0
>
>but if you do 100 times
>
>x:=1.00E0;
>
>x:=x+1.00E-5;
>
>you will have 1.00 as result, but the correct one is 2.00.
>
>So it`s a myth that higher precision will give a better result.

I think you just disproved yourself.  On the second example, rounding after 2
decimal digits gives the wrong answer, but round after 10 digits and you get
the correct answer, or very close to it.  So this shows how having more
precision helps.


+------------------------------------------+
| Jud McCranie [EMAIL PROTECTED] |
+------------------------------------------+

Reply via email to