Why is the limits.h header file included when there are fixed point data types in an AUTOSAR model?
Show older comments
I have an AUTOSAR model that includes fixed point data types. When preprocessor directives for fixed point word size checks are enabled, in the generated file " modelName_private.h," I see the following line as part of the fixed point word size checks.
#include <limits.h>
In AUTOSAR, the data type definitions for the CRL are defined in "Mfx.h" header.
What is the difference between "limits.h" and "Mfx.h"? Why is the "limits.h" file included for AUTOSAR models with fixed point data types?
Accepted Answer
More Answers (0)
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!