blob: 7252c64fc2c096c98f23083916575d7b44a4b3fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// <-- Non-regression test for bug 1736 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1736
//
// <-- Short Description -->
// Actually this is the same bug as 608, but it has been
// marked incorrectly as RESOLVED. The fix should be the
// same I posted some years ago for version 2.7 and I'm
// surprised it hasn't be applied a lot of years after it
// has been indentified and posted a bug correction... There
// is a problem with uint8 comparisons...
// Copyright INRIA
// Scilab Project - Serge Steer
// Copyright INRIA 2006
// Date : 11 janvier 2006
a = uint8(rand(10,10)*100);
ok=(a<=50)==(50>=a)
affich_result(ok,1736);
|