Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Casting a Float to a Signed Integer
#2
The use of macros which are evaluated with multiple types is to be discouraged.

We do not see an easy solution and cannot provide specific advice.

Generally, we would suggest that the macro is replaced with a solution for each specific type.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)