...
Automated detection is not feasible in the general case. Heuristic checking could be useful.
Related Guidelines
"FLP33-C. Convert integers to floating point for floating point operations" | |
"FLP33-CPP. Convert integers to floating point for floating point operations" |
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f38c8ae3a866483c-9fce00d0-447643f5-a841ad7d-bf3732b506fe9c20dd0d1a60"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [[§5.1.2, Widening Primitive Conversion" | http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.2] | ]]></ac:plain-text-body></ac:structured-macro> |
...