Main Content
MISRA C:2023 Rule 21.12
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 |
Version History
Introduced in R2024a