[Scilab-users] (no subject)

Dang, Christophe Christophe.Dang at sidel.com
Thu Apr 25 09:49:30 CEST 2013


Hello again

De la part de Renzo Zini
Envoyé : mercredi 24 avril 2013 15:58

> with the Windows calculator the result is
>
> 9151064444577189,6470588235294118

another point is: does the Windows calculator compute the right value?

You can have a greater precision by performing two divisions:

(a + b)/c = a/c + b/c

each having no underflow.

then :
55568095557812224 = 55568095557812200 + 24

-->155568095557812200/17
 ans  =
 
    9151064444577188.

-->24/17
 ans  =
 
    1.4117647058823530326066

so we can guess that
55568095557812224/17 = 9151064444577189.4117647...

so the Windows calculator gives a result, but it is false at the first
decimal...

Now: do you really need to have a precision of more than 16 digits?

This might be the case, especially if the error propagates.

In my field, I'm usually happy with 4 digits ;-)

-- 
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the users mailing list