* doxy warning
* reduce scope
* Clarify calculation precedence for '%' and '?' (cppcheck)