MISRA Discussion Forums

Full Version: 6.10 Arithmetic Type Conversions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

6.10 Arithmetic Type Conversions

Threads

  1. Rule M10.1.1 (1 Reply)
  2. Rule 10.1 (4 Replies)
  3. Rule M16.10 (2 Replies)
  4. int vs long when sizes are identical and issue with int32_t (from rule 6.3) in rule 10.1 example (1 Reply)
  5. Casting integer to floating point (2 Replies)
  6. How to fix Warnings 10.1 and 10.3 (1 Reply)
  7. Clarification on rule 10.6 (1 Reply)
  8. Typecasting from signed to unsigned and vis-verse (1 Reply)
  9. Rule 10.1 violation with casting (1 Reply)
  10. Appendix B - mapping of rule 10.2 (1 Reply)
  11. 10.1 Non-constant value to function (1 Reply)
  12. I question the need of rule 10.6 (8 Replies)
  13. 10.1 in a macro (2 Replies)
  14. if statement with structure member and rule 10.1 (1 Reply)
  15. if-statement with two checks with different data types (7 Replies)
  16. Underlying type for integer constant expressions (1 Reply)
  17. Rule 10.1, Rule 6.5 and Boolean bit-fields (4 Replies)
  18. 10.1: Can the underlying type of enum constants be unsigned? (1 Reply)
  19. Assigning literal 0 to an unsigned variable (3 Replies)
  20. Booleans and the unterlying type (6 Replies)
  21. "char" vs. "signed char" vs. "unsigned char" in rule 10.5 (4 Replies)
  22. Rule 10.1 (DSP code) (2 Replies)
  23. Rule 10.5 clarification (5 Replies)
  24. Is below code is compliant to rule 10.1? (1 Reply)
  25. Rule 10.5, shift left operator example (4 Replies)
  26. Underlying type of unary minus operator (-var) (2 Replies)
  27. Left Shifts and Castings (2 Replies)
  28. Rule 10.5 (4 Replies)
  29. Notional operations Rule 10.1 (8 Replies)
  30. 10.3. Casting to a narrower type (5 Replies)
  31. Underlying type of character constants and \"plain char (4 Replies)
  32. Casting a Float to a Signed Integer (1 Reply)
  33. Rule 10.6: \"u\" Suffix to all unsigned constants (5 Replies)
  34. Is rule 10.5 compliant with rule 10.3? (3 Replies)
  35. Enumeration specifiers (1 Reply)
  36. Underlying Type Presumptions (3 Replies)
  37. Implicit type convertion (3 Replies)
  38. 16-bit and 32-bit compatibility (1 Reply)
  39. conversions with constant (1 Reply)
  40. Rule 10.5 (required) and use of <<= (1 Reply)
  41. Underlying types for bit-fields (2 Replies)
  42. Nominal or Physical? (5 Replies)
  43. Underlying Types (3 Replies)