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?

10 ビュー (過去 30 日間)
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by