[Scilab-users] bug
Zeyu Liu
liuzeyu271828 at gmail.com
Thu Dec 13 16:11:55 CET 2012
in fact, scilab works with float numbers. so this kind of things always
happen. say,
-->format(25);
-->1-0.9
ans =
0.0999999999999999777955
and
-->0.1 == 1 - 0.9
ans =
F
you need to remember that this software is not for symbolic algebra system
like maxima or maple
On Wed, Dec 12, 2012 at 2:01 AM, Пилюгин Иван <pilyugin.i at yandex.ru> wrote:
> programm code
> ---------------------------------
> clear
> z=mscanf('%g')
>
> ----------------------------------
>
> Input 7.9
>
> Result z=7.9000001
>
>
> -->78.8
> z =
>
> 78.800003
>
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121213/15478bf5/attachment.htm>
More information about the users
mailing list