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

Rule:  6.4.4.bChecked automatically with code checker

Synopsis:Use suffix 'L' instead of 'l' to avoid confusion
Language:C
Severity Level:8
Category:Lexical Elements


Description:

Justification

This small letter suffix shall not be used to avoid any confusion between l (letter l) and 1 (digit 1).

Example

#define FAR_AWAY (0.0l) /* WRONG */
#define CLOSE_BY (0.0L) /* RIGHT */