No, it should not be an error. If you're making a calculator and your user enters 1/0, your program should not have the propensity to crash; the result should simply be NaN and you should choose how you display that result to your user.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: