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, Пилюгин Иван <[email protected]> wrote:
> programm code
> ---------------------------------
> clear
> z=mscanf('%g')
>
> ----------------------------------
>
> Input 7.9
>
> Result z=7.9000001
>
>
> -->78.8
> z =
>
> 78.800003
>
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.scilab.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users