grand(2,2,2,"uin",0,2^31) // puzzling message = grand: Wrong value for input arguments #4 and #5: Low < High expected.
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
--> grand(2,2,2,"uin",0,2^31)
grand: Wrong value for input arguments #4 and #5: Low < High expected.
The message is wrong in 2 aspects:
* argins # are not corrects. Arguments #5 and #6 are concerned, not #4 and #5
* the required condition is here fulfilled.
In Scilab 5.5.2, the message was correct and explicit:
-->grand(2,2,2,"uin",0,2^31)
!--error 999
a and b must integers with (b-a+1) <= 2147483561
ERROR LOG:
----------
See above
HOW TO REPRODUCE THE BUG:
-------------------------
grand(2,2,2,"uin",0,2^31)
OTHER INFORMATION:
------------------
Same thing in Scilab 6.0.1