mtlb_int16: A GOOD compatibility bug :~))) Should be mentioned in Help/Doc Matlab (code
Reported by bb
-- Bug description --
An GOOD compatibility bug :~))) Should be mentioned in Help/Doc
Matlab (code from about 2008 - dont have an actual license):
(int16(1)+0.4)+0.4 returns 1, but
int16(1)+(0.4+0.4) returns 2 (In Matlab addition is not associative!)
Scilab:
-->mtlb_int16(1)+(0.4+0.4)
ans =
1
-->(mtlb_int16(1)+0.4)+0.4
ans =
1
-- Scilab error message --
no error message
-- How to reproduce the bug --
see above