Top "Unsigned-integer" questions

A specific data type that uses all its bits to represent an integer value, consequently only 0 or a positive number.

A warning - comparison between signed and unsigned integer expressions

I am currently working through Accelerated C++ and have come across an issue in exercise 2-3. A quick overview of …

c++ unsigned-integer
What is a difference between unsigned int and signed int in C?

Consider these definitions: int x=5; int y=-5; unsigned int z=5; How are they stored in memory? Can anybody explain …

c unsigned-integer signed-integer
Convert unsigned int to signed int C

I am trying to convert 65529 from an unsigned int to a signed int. I tried doing a cast like this: …

c int unsigned-integer
What is the benefit of zerofill in MySQL?

I just want to know what is the benefit/usage of defining ZEROFILL for INT DataType in MySQL? `id` INT …

mysql types unsigned-integer
Calculating bits required to store decimal number

This is a homework question that I am stuck with. Consider unsigned integer representation. How many bits will be required …

decimal unsigned unsigned-integer
How can I get the size of an std::vector as an int?

I tried: #include <vector> int main () { std::vector<int> v; int size = v.size; } but got …

c++ vector size constants unsigned-integer
C - unsigned int to unsigned char array conversion

I have an unsigned int number (2 byte) and I want to convert it to unsigned char type. From my search, …

c byte unsigned-integer type-conversion unsigned-char
Why doesn't SQL Server support unsigned datatype?

I am specifically thinking about unsigned int. Here is a practical example: what do you do when your identity column …

sql sql-server sqldatatypes unsigned-integer
Why unsigned integer is not available in PostgreSQL?

I came across this post (What is the difference between tinyint, smallint, mediumint, bigint and int in MySQL?) and realized …

postgresql unsigned-integer