Abraxas/Misra Home  Table of Contents

Module - m15.html

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.

Misra-C Test Suite for Module - m15.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 15: Advisory */

Rule 15: Advisory */

/* Floating point implementations should comply with a defined */

Floating point implementations should comply with a defined */

/* floating point standard. */

floating point standard. */

/* Not automatically enforceable. Requires use of packages such as */

Not automatically enforceable. Requires use of packages such as */

/* paranoia. */

paranoia. */
float foo;	/*  bad */
typedef float FLOAT;	/*  float's must have a defined type	IEEE ... */
FLOAT foo;	/*  good */

Abraxas/Misra Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.