TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

Guideline:  6.3#3Checked automatically with code checker

Synopsis:Conversion of integral values to floating types should be avoided since loss of precision can occur.
Language:C
Severity Level:4
Category:CONVERSIONS


Description:
Since mixed precision arithmetic involves implementation defined and undefined
behaviour, it is safer to avoid implicit conversions between floating and integral
types.