MISRAC++2008-2-13-4_a
In this section:
Synopsis
(Required) Literal suffixes shall be upper case.
Enabled by default
Yes
Severity/Certainty
Low/Medium

Full description
Suffixes on floating-point constants are lower case.
Coding standards
This check does not correspond to any coding standard rules.
Code examples
The following code example fails the check and will give a warning:
#include <stdint.h>
void func()
{
float l = 2.4l;
}
The following code example passes the check and will not give a warning about this issue:
#include <stdint.h>
void func()
{
uint32_t a = 0U;
int64_t c = 0L;
uint64_t e = 0UL;
uint32_t g = 0x12bU;
float i = 1.2F;
float k = 1.2L;
}