[Scilab-users] (no subject)

Renzo Zini renzozini at gmail.com
Wed Apr 24 15:58:08 CEST 2013


Yesterday I have seen a strange behaviour of a simple algorithm I wrote.
After some investigation over that, I write this operation on scilab console
(after this format was changed with this instruction  ->format(25) )

->155568095557812224/17
 ans  =

    9151064444577190.

and I know this is wrong because 17 does not divide that number

with the Windows calculator the result is

9151064444577189,6470588235294118

This thing seem so incredible to me, that I ask:
Why scilab have made this error?
It's my fault? Or it is a bug
how I can fix it?

Renzo Zini
-- 
Renzo the Keyboard Master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130424/8bc64acb/attachment.htm>


More information about the users mailing list