![]() |
![]() |
3629 | ![]() |
||||
![]() | |||||||
| Declarations and Definitions | |||||||
A union type is being defined with a member of floating type. Unions are frequently used as a way of equivalencing different data types. For example byte information can be extracted from or packed into larger integer types. Manipulating the underlying representation of floating point data is not recommended and message 3629 therefore identifies any union declaration which contains members of floating type. For example:
/*PRQA S 553,750,2017 ++*/
union UT
{
double dbm; /* Message 3629 */
unsigned long ulx;
};
No MISRA C:2012 Rules applicable to message 3629
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index | Contents |