Handle divide by zero in constant evaluator
Merge pull request #4587 from sanxiyn/divide-by-zero

Handle divide by zero in constant evaluator