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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Santosh Fatale
el 16 de Mayo de 2023
Hi Min,
Could you please provide the sample code for investigation?
Respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!