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 次查看(过去 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.
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!