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

Guideline:  6.4#1Checked automatically with code checker

Synopsis:Mixed precision arithmetic should be avoided if possible.
Language:C
Severity Level:3
Category:CONVERSIONS


Description:
Since mixed precision arithmetic involves implementation defined and undefined behaviour, it is safer to use double precision consistently unless the application specifically requires single or double precision.