
[Bug] Divide by Zero Crash
I recently ran into a bug with the ROBOTC compiler where dividing by zero does not prevent compilation and downloading. As a result, ROBOTC crashes. Also, when using joystick values in trigonometry functions and they are at zero, ROBOTC crashes then as well. I thought I should make you guys aware of these bugs. I can (and should've) worked around the trig issue, but dividing by zero does not create issues. The line I tested was
. It reports an error
, but doesn't prevent compilation.