sign(int8(0)) returns 1 instead of 0 (same error for all input inttype)
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
For a matrix of encoded integers of any inttype, sign() returns 1 instead of 0 for all null components:
--> sign(int8(0))
ans =
1
ERROR LOG:
----------
none. wrong answer
HOW TO REPRODUCE THE BUG:
-------------------------
sign(int8(0))
OTHER INFORMATION:
------------------
This bug already occurred with Scilab 4.1.2