Top "Unsigned" questions

An unsigned variable is a variable that can only represent non-negative numbers.

Does C# have an Unsigned Double?

I need to use an unsigned double but it turns out C# does not provide such a type. Does anyone …

c# double unsigned
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
How to print unsigned char* in NSLog()

Title pretty much says everything. would like to print (NOT in decimal), but in unsigned char value (HEX). example unsigned …

objective-c c char unsigned nslog
C# equivalent of 64-bit unsigned long long in C++

I am building a DLL which will be used by C++ using COM. Please let me know what would be …

c# c++ long-integer unsigned ulong
Unsigned Int in Java

I'm trying to implement an existing network protocol which makes heavy use of Unsigned datatypes, which are not supported by …

java networking protocols unsigned
Can't get rid of "this decimal constant is unsigned only in ISO C90" warning

I'm using the FNV hash as a hashing algorithm on my Hash Table implementation but I'm getting the warning in …

c warnings constants unsigned c89
Overflow/underflow in unsigned numbers

So, if you have a carry out of 1 on addition with unsigned numbers, you have overflowed, and if you have …

numbers overflow mips unsigned underflow
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
Why is int rather than unsigned int used for C and C++ for loops?

This is a rather silly question but why is int commonly used instead of unsigned int when defining a for …

c for-loop int unsigned
C/C++ use of int or unsigned int

In a lot of code examples, source code, libraries etc. I see the use of int when as far as …

c++ c types int unsigned