Top "Unsigned" questions

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

When should I use std_logic_vector and when should I use other data types?

I'm new to VHDL and am having trouble figuring out which data types are appropriate to use where. If I …

integer port vhdl unsigned signed
Is wchar_t just a typedef of unsigned short?

for example, does: wchar_t x; translate to: unsigned short x;

c++ c unsigned short wchar-t
Signed vs. unsigned integers for lengths/counts

For representing a length or count variable, is it better to use signed or unsigned integers? It seems to me …

c# c++ unsigned signed
Gcc: force compiler to use unsigned char by default

Since the nature of a char in C++ is compiler-dependent when the unsigned qualifier is not present, is there an …

c++ gcc char unsigned
How do I declare 64bit unsigned int in dart/flutter?

For an app, I need a 64bit unsigned int. Looking at dart documentation I did not see how to exactly …

dart int flutter unsigned dart-2
Why is a negative int greater than unsigned int?

int main(void) { unsigned int y = 10; int x = – 4; if (x > y) Printf("x is greater"); else Printf("y is …

c int unsigned signed
Why do MIPS operations on unsigned numbers give signed results?

When I try working on unsigned integers in MIPS, the result of every operation I do remains signed (that is, …

mips unsigned
C# multi-threaded unsigned increment

I want to increment an unsigned integer from multiple threads. I know about Interlocked.Increment, but it does not handle …

c# multithreading unsigned interlocked-increment
SQlite: Column format for unix timestamp; Integer types

Original problem: What is the right column format for a unix timestamp? The net is full of confusion: some posts …

sqlite types integer unsigned unix-timestamp
Is there a Java library for unsigned number type wrappers?

Obviously, Java doesn't support unsigned number types natively, and that's not going to change soon (comments starting in 2002). However, when …

java numbers unsigned