1 ./ uint8(0) crashes Scilab (idem with int8, uint16, int16, uint32, int32, uint64, int64). Yet, 1 / uint8(0) returns 255
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
1 ./ uint8(0) crashes Scilab (idem with int8, uint16, int16, uint32, int32, uint64, int64).
Same thing when the int is the LHS operand: uint8(1) ./ 0
Yet, 1 / uint8(0) and uint8(1) / 0 return 255
ERROR LOG:
----------
Crash
HOW TO REPRODUCE THE BUG:
-------------------------
1 ./ uint8(0)
1 ./ uint16(0)
1 ./ uint32(0)
1 ./ uint64(0)
1 ./ int8(0)
1 ./ int16(0)
1 ./ int32(0)
1 ./ int64(0)
uint8(1) ./ 0
uint16(1) ./ 0
uint32(1) ./ 0
uint64(1) ./ 0
int8(1) ./ 0
int16(1) ./ 0
int32(1) ./ 0
int64(1) ./ 0
OTHER INFORMATION:
------------------
* %s_d_i.sci and %i_d_s.sci still exist but are apparently not called.
* This bug triggers the bug 16511