SpiceQA
Questions
Tags
Users
Badges
integer-promotion
31 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Is left shifting unsigned int more than its bit field width, but less than its type size undefined?
user_19684368
0
•
asked Aug 3, 2022
10
2
1132
integer-promotion
undefined-behavior
bit-fields
bit-shift
c
Passing enum to argument of integral type
user_17172007
0
•
asked Apr 12, 2022
3
3
147
integer-promotion
enumeration
overloading
implicit-conversion
c++
Is relying on integer promotion a bad programming practice?
user_2211347
0
•
asked Mar 3, 2022
7
1
150
integer-promotion
type-conversion
c
c++
Why do `(char)~0` and `(unsigned char)~0` return values of different widths?
user_3292006
0
•
asked Feb 25, 2022
4
3
152
signed-integer
integer-promotion
unsigned-integer
char
c
Question about Bitwise Shift in Microsoft C++
user_6366003
0
•
asked Jan 20, 2022
2
2
59
integer-promotion
bit-shift
bitwise-operators
c++
Why is the expression true after bit shifting the value and condition with && in C
user_6366153
0
•
asked Jan 13, 2022
3
3
104
logical-and
integer-promotion
bit-shift
logical-operators
c
(Where) does the C standard define the result of adding/subtracting two booleans?
user_11993121
0
•
asked Nov 23, 2021
4
1
117
addition
c11
integer-promotion
language-lawyer
c
comparison between signed and unsigned char
user_15987749
0
•
asked Sep 2, 2021
2
2
193
relational-operators
integer-promotion
for-loop
char
c
Why do a bitwise-and of a character with 0xff?
user_1248535
0
•
asked May 24, 2021
8
6
309
isspace
bitwise-and
integer-promotion
char
c
Promotions and conversions of variables in printf()
user_12594357
0
•
asked Jan 18, 2021
2
2
235
integer-promotion
implicit-conversion
c
1
(current)
2
3
4
Next
Next
Hot Questions