Why does "Check for equality and inequality operations on floating-point values" warning in misra c-2012 show up even though when I compare something with enum value?

2 Ansichten (letzte 30 Tage)
Why does "Check for equality and inequality operations on floating-point values" warning in misra c-2012 show up even though when I compare something with enum value?
I checked that poin and, there are enum value, not floating-number as well as, that enum value is set as uint8. I think there is no reason to show up just like that warning.

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by