<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ok, thanks for the explanation.<br>
<br>
Sylvestre Ledru schrieb:
<blockquote cite="mid:1224667676.14725.20.camel@korcula.inria.fr"
type="cite">
<pre wrap="">Le samedi 18 octobre 2008 à 22:25 +0200, Christoph Korn a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">Why doesn't scilab-5.0.2 output exact results?
</pre>
</blockquote>
<pre wrap=""><!---->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.
</pre>
<blockquote type="cite">
<pre wrap="">Examples:
-->sin(%pi)
ans =
1.225E-16
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">I mean, even maxima can do so ;-)
</pre>
</blockquote>
<pre wrap=""><!---->Because it is a symbolic computing software.
S
</pre>
</blockquote>
</body>
</html>