actually, with bc program in Linux, I get
915106577189 * 17 = 155568095557812213
and obvious this precise. and with scilab, I get
-->format (25);
-->11 / 17
ans =
0.6470588235294117973595
so the windows calculator is correct.
On Thu, Apr 25, 2013 at 3:49 PM, Dang, Christophe wrote:
> Hello again
>
> De la part de Renzo Zini
> Envoyé : mercredi 24 avril 2013 15:58
>
> > with the Windows calculator the result is
> >
> > 915106577189,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 =
>
> 915106577188.
>
> -->24/17
> ans =
>
> 1.4117647058823530326066
>
> so we can guess that
> 55568095557812224/17 = 915106577189.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.
>
>
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users