Main Content
MISRA C:2012 Rule 21.12
The standard header file <fenv.h>
shall not be
used
Description
Rule Definition
The standard header file <fenv.h>
shall not be
used.
Rationale
In some cases, the values of the floating-point status flags are unspecified. Attempts to access them can cause undefined behavior.
Troubleshooting
If you expect a rule violation but do not see it, refer to Diagnose Why Coding Standard Violations Do Not Appear as Expected.
Examples
Check Information
Group: Standard libraries |
Category: Required |
AGC Category: Required |