You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rule 18
In compound expressions with multiple sub-expressions the intended
order of evaluation shall be made explicit with parentheses. [cf. MISRAC:2004
Rule 12.2]
(we could add the obvious caveat that "However, do not add too many parentheses so as to clutter the code and make it unreadable." per MISRAC:2004 Rule 12.1)
The text was updated successfully, but these errors were encountered:
Should we add this?
Rule 18
In compound expressions with multiple sub-expressions the intended
order of evaluation shall be made explicit with parentheses. [cf. MISRAC:2004
Rule 12.2]
http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
(we could add the obvious caveat that "However, do not add too many parentheses so as to clutter the code and make it unreadable." per MISRAC:2004 Rule 12.1)
The text was updated successfully, but these errors were encountered: