Moderated By: david ward, misra-c
6.10 Arithmetic Type Conversions - Rules |
6.10 Arithmetic Type Conversions
|
||||||
Thread / Author | Replies | Views | Info | Rating | ||
Rule M10.1.1
Last Post: phdenis, 05-12-2019, 10:14 PM |
1 | 5,577 |
Views: 5,577 Replies: 1 |
|||
4 | 10,574 |
Views: 10,574 Replies: 4 |
||||
Rule M16.10
Last Post: phdenis, 05-07-2018, 09:33 AM |
2 | 6,264 |
Views: 6,264 Replies: 2 |
|||
1 | 6,970 |
Views: 6,970 Replies: 1 |
||||
Casting integer to floating point
Last Post: misra-c, 09-12-2016, 08:46 AM |
2 | 10,279 |
Views: 10,279 Replies: 2 |
|||
How to fix Warnings 10.1 and 10.3
Last Post: misra-c, 25-06-2015, 08:00 AM |
1 | 9,272 |
Views: 9,272 Replies: 1 |
|||
Clarification on rule 10.6
Last Post: misra-c, 01-04-2015, 11:56 AM |
1 | 8,700 |
Views: 8,700 Replies: 1 |
|||
Typecasting from signed to unsigned and vis-verse
Last Post: misra-c, 22-08-2014, 11:41 AM |
1 | 12,618 |
Views: 12,618 Replies: 1 |
|||
Rule 10.1 violation with casting
Last Post: misra-c, 20-02-2014, 08:49 AM |
1 | 13,241 |
Views: 13,241 Replies: 1 |
|||
Appendix B - mapping of rule 10.2
Last Post: misra-c, 12-09-2013, 07:37 AM |
1 | 12,228 |
Views: 12,228 Replies: 1 |
|||
10.1 Non-constant value to function
Last Post: misra-c, 30-11-2012, 01:32 PM |
1 | 12,231 |
Views: 12,231 Replies: 1 |
|||
I question the need of rule 10.6
Last Post: misra-c, 30-11-2012, 01:27 PM |
8 | 34,762 |
Views: 34,762 Replies: 8 |
|||
10.1 in a macro
Last Post: borth, 04-10-2012, 07:55 AM |
2 | 11,980 |
Views: 11,980 Replies: 2 |
|||
if statement with structure member and rule 10.1
Last Post: misra-c, 15-11-2011, 08:59 PM |
1 | 10,261 |
Views: 10,261 Replies: 1 |
|||
if-statement with two checks with different data types
Last Post: misra-c, 10-06-2011, 07:26 AM |
7 | 23,310 |
Views: 23,310 Replies: 7 |
|||
Underlying type for integer constant expressions
Last Post: misra-c, 20-04-2011, 08:45 AM |
1 | 11,529 |
Views: 11,529 Replies: 1 |
|||
Rule 10.1, Rule 6.5 and Boolean bit-fields
Last Post: misra-c, 25-01-2011, 05:27 PM |
4 | 20,435 |
Views: 20,435 Replies: 4 |
|||
10.1: Can the underlying type of enum constants be unsigned?
Last Post: misra-c, 19-11-2010, 10:15 AM |
1 | 28,105 |
Views: 28,105 Replies: 1 |
|||
Assigning literal 0 to an unsigned variable
Last Post: misra-c, 16-07-2010, 03:41 PM |
3 | 17,446 |
Views: 17,446 Replies: 3 |
|||
Booleans and the unterlying type
Last Post: misra-c, 10-03-2010, 01:20 PM |
6 | 21,431 |
Views: 21,431 Replies: 6 |
|||
"char" vs. "signed char" vs. "unsigned char" in rule 10.5
Last Post: misra-c, 10-03-2010, 10:35 AM |
4 | 20,630 |
Views: 20,630 Replies: 4 |
|||
Rule 10.1 (DSP code)
Last Post: mshearer123, 02-03-2010, 11:34 AM |
2 | 11,037 |
Views: 11,037 Replies: 2 |
|||
Rule 10.5 clarification
Last Post: misra-c, 20-01-2010, 12:17 PM |
5 | 22,834 |
Views: 22,834 Replies: 5 |
|||
Is below code is compliant to rule 10.1?
Last Post: misra-c, 09-12-2009, 02:02 PM |
1 | 10,108 |
Views: 10,108 Replies: 1 |
|||
Rule 10.5, shift left operator example
Last Post: misra-c, 30-03-2009, 10:00 AM |
4 | 23,573 |
Views: 23,573 Replies: 4 |
|||
Underlying type of unary minus operator (-var)
Last Post: misra-c, 24-09-2008, 09:10 AM |
2 | 13,928 |
Views: 13,928 Replies: 2 |
|||
Left Shifts and Castings
Last Post: misra-c, 24-09-2008, 08:47 AM |
2 | 12,518 |
Views: 12,518 Replies: 2 |
|||
4 | 25,077 |
Views: 25,077 Replies: 4 |
||||
Notional operations Rule 10.1
Last Post: Lundin, 04-09-2008, 12:07 PM |
8 | 32,286 |
Views: 32,286 Replies: 8 |
|||
10.3. Casting to a narrower type
Last Post: misra-c, 26-09-2007, 01:57 PM |
5 | 32,203 |
Views: 32,203 Replies: 5 |
|||
Underlying type of character constants and \"plain char
Last Post: misra-c, 26-09-2007, 01:41 PM |
4 | 18,835 |
Views: 18,835 Replies: 4 |
|||
Casting a Float to a Signed Integer
Last Post: misra-c, 09-05-2007, 11:00 AM |
1 | 13,169 |
Views: 13,169 Replies: 1 |
|||
Rule 10.6: \"u\" Suffix to all unsigned constants
Last Post: misra-c, 21-11-2006, 03:12 PM |
5 | 26,520 |
Views: 26,520 Replies: 5 |
|||
Is rule 10.5 compliant with rule 10.3?
Last Post: misra-c, 23-08-2006, 10:10 AM |
3 | 19,825 |
Views: 19,825 Replies: 3 |
|||
Enumeration specifiers
Last Post: misra-c, 22-08-2006, 04:47 PM |
1 | 12,284 |
Views: 12,284 Replies: 1 |
|||
Underlying Type Presumptions
Last Post: misra-c, 20-06-2006, 02:02 PM |
3 | 25,868 |
Views: 25,868 Replies: 3 |
|||
Implicit type convertion
Last Post: misra-c, 20-06-2006, 12:48 PM |
3 | 16,844 |
Views: 16,844 Replies: 3 |
|||
16-bit and 32-bit compatibility
Last Post: Gavin McCall, 05-01-2006, 11:12 AM |
1 | 12,370 |
Views: 12,370 Replies: 1 |
|||
conversions with constant
Last Post: Gavin McCall, 05-01-2006, 10:33 AM |
1 | 11,578 |
Views: 11,578 Replies: 1 |
|||
Rule 10.5 (required) and use of <<=
Last Post: Gavin McCall, 03-11-2005, 03:12 PM |
1 | 12,044 |
Views: 12,044 Replies: 1 |
|||
Underlying types for bit-fields
Last Post: MISRA Reply, 09-09-2005, 02:17 PM |
2 | 15,077 |
Views: 15,077 Replies: 2 |
|||
Nominal or Physical?
Last Post: Paul Burden, 13-05-2005, 02:23 PM |
5 | 20,520 |
Views: 20,520 Replies: 5 |
|||
Underlying Types
Last Post: MISRA Reply, 11-05-2005, 12:18 PM |
3 | 17,059 |
Views: 17,059 Replies: 3 |
|||
- New Posts
- Hot Thread (New)
- Hot Thread (No New)
- No New Posts
- Contains Posts by You
- Closed Thread