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.

unsigned integers in C

While i am running the program below it outputs like 109876543210-1-2-3-4-5-6-78-9-10-11…

c unsigned-integer
Casting enum definition to unsigned int

According to this SO post: What is the size of an enum in C? enum types have signed int type. …

c casting enums unsigned-integer iar
MySQL datatype INT(11) whereas UNSIGNED INT(10)?

in MySQL if we create a field dataType of INT and does not specify any length/values then it automatically …

mysql types int unsigned-integer
SQL Server 2008 – Unsigned Integer Data Types

I am using SQL SERVER 2008, I have a number of INT, SMALLINT fields in my various tables, And I know …

sql sql-server-2008 sqldatatypes unsigned-integer
JNI: converting unsigned int to jint

How do I convert an unsigned int to jint? Do I have to convert it at all, or can I …

java c++ java-native-interface unsigned-integer
VHDL assigning literals

I'm trying to use unsigned integers in VHDL with well defined bit widths. It seems VHDL does not like me …

vhdl unsigned-integer intel-fpga
Using MySQL's TIMESTAMP vs storing timestamps directly

I'm in a dilemma about saving date and time values in MySQL's TIMESTAMP format vs in a custom UNSIGNED INT …

php mysql datetime timestamp unsigned-integer
Converting 32-bit unsigned integer (big endian) to long and back

I have a byte[4] which contains a 32-bit unsigned integer (in big endian order) and I need to convert it …

java type-conversion endianness unsigned-integer
How to count leading zeros in a 32 bit unsigned integer

Could anyone tell me please what is an efficient algorithm to count the number of leading zeroes in a 32-bit …

c 32-bit unsigned-integer leading-zero
Compiler Error: Invalid Conversion from int* to unsigned int* [-fpermissive]

I'm having the strangest issue today. I was working with an example online, and to my lack of surprise, it …

c++ pointers compiler-errors integer unsigned-integer