Top "Signed" questions

In computing, signedness is a property of data types representing numbers in computer programs.

Unsigned hexadecimal constant in C?

Does C treat hexadecimal constants (e.g. 0x23FE) and signed or unsigned int?

c constants hex unsigned signed
How to convert signed 32-bit int to unsigned 32-bit int?

This is what I have, currently. Is there any nicer way to do this? import struct def int32_to_uint32(…

python integer unsigned signed type-conversion
Detecting signed overflow in C/C++

At first glance, this question may seem like a duplicate of How to detect integer overflow?, however it is actually …

c++ c undefined-behavior signed integer-overflow
In C Left shift (char) 0xFF by 8 and cast it to int

On left shift of (char) 0xff by 8 and casting it to int we get -256 or 0xffffff00. Can somebody explain …

c char signed shift
What is the best way to work around the fact that ALL Java bytes are signed?

In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need …

java byte unsigned signed
Invalid conversion from unsigned char* to char*

Here is a code - 1 int main(int argc, char *argv[]) 2 { 3 signed char S, *psc; 4 unsigned char U, *pusc; 5 char …

c++ char signed unsigned-char
What is the difference between signed and unsigned binary

I've been reading a few sites, but none of them make sense to me. Is signed and unsigned binary them …

binary unsigned signed
Android Export aborted because fatal error were founds

I can't export signed or unsigned application package *Export Aborted Export aborted because fatal Lin error were founds. These are …

android export apk signed
Why is (18446744073709551615 == -1) true?

When I was working on string::npos I noticed something and I couldn't find any explanation for it on the …

c++ equality unsigned signed integer-overflow
Can a pointer (address) ever be negative?

I have a function that I would like to be able to return special values for failure and uninitialized (it …

c pointers return-value signed