Avoid divisions by zero when simplifying numeric calculations.
CheckUninitVar: Assertion for '} while (' after 'do {..' in debug builds. Bail out in release builds to avoid segfaults.
Merge pull request #153 from simartin/ticket_4930

Fixed #4930 ((error) Internal Error: Division by zero)
astyle formatting