<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong evaluation of a logical expression. Parenthesis correct this behaviour."
href="http://bugzilla.scilab.org/show_bug.cgi?id=8767">bug 8767</a>
<br><br>
---------- Bug Summary ----------- <br>Wrong evaluation of a logical expression. Parenthesis correct this behaviour. <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>cedric.delamarre@scilab-enterprises.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong evaluation of a logical expression. Parenthesis correct this behaviour."
href="http://bugzilla.scilab.org/show_bug.cgi?id=8767#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong evaluation of a logical expression. Parenthesis correct this behaviour."
href="http://bugzilla.scilab.org/show_bug.cgi?id=8767">bug 8767</a>
from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
<pre><span class="quote">>-->%F & ~%F | %T & ~%F
> ans =
> F </span >
in Scilab 6.0.1:
--> %F & ~%F | %T & ~%F
ans =
T
I guess that it is a matter of operators priorities.
Some priorities have changed in Scilab 6:
* ~ has now a bigger priority than comparisons == ~= > >= < <=
* Are there other changes between ~and | and & to be documented?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>