[scilab-Users] No exact results

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Oct 22 11:27:56 CEST 2008


Le samedi 18 octobre 2008 à 22:25 +0200, Christoph Korn a écrit :
> Why doesn't scilab-5.0.2 output exact results?
Because Scilab is a numerical software. %pi is a predefined variable (3.14xxx)
and it is this given value which is used by the sin function. Not the
fact that it is working with pi itself.

> Examples:
> -->sin(%pi)
>  ans  =
>  
>     1.225E-16

> I mean, even maxima can do so ;-)
Because it is a symbolic computing software.

S





More information about the users mailing list