Mutliplication error

when i work on tutorial object detection and implementing this multiplication, i found it gives this error


What error? There is no error in the screenshot.

it gives a negative number, although it is an area and can’t be negative

int16 can only store values from -32768 to 32767 (2^15 bits + one for the sign). 35358 overflows the upper limit and the result gets negative.

1 Like

i made it int32, and it had solved the problem. thanks alot