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 int into a char array. Alternative to itoa?

I have a question about unsigned ints. I would like to convert my unsigned int into a char array. For …

c++ char arrays unsigned-integer itoa
Why is size_t unsigned?

Bjarne Stroustrup wrote in The C++ Programming Language: The unsigned integer types are ideal for uses that treat storage as …

c++ unsigned-integer size-t
Declaring a long long array with unsigned int size

I was doing a problem when I encountered a segmentation fault while declaring an array as: long long ways[max+1]; …

c arrays unsigned-integer long-long
Convert usigned integer( uint16_t) to string. Standard itoa base 10 is giving negative values

I need to convert uint16_t value to a string. I want the string to be a decimal respresentation of …

c string unsigned-integer itoa uint16
Why doesn't Kotlin support unsigned integers?

I came across a situation just recently in which an unsigned integer would have been really useful (e.g. any …

types kotlin language-design unsigned-integer
Why are unsigned integers error prone?

I was looking at this video. Bjarne Stroustrup says that unsigned ints are error prone and lead to bugs. So, …

c++ unsigned-integer
Python: confusion between types and dtypes

Suppose I enter: a = uint8(200) a*2 Then the result is 400, and it is recast to be of type uint16. However: …

python numpy types unsigned-integer
how to convert an unsigned int to NSString?

I have an unsinged int having value of -10, now I want to convert it into NSString. In simply we …

iphone nsstring unsigned-integer
Unsigned 32 bit integers in Javascript

How can I emulate 32bit unsiged integers without any external dependencies in Javascript? Tricks with x >>> 0 or …

javascript integer unsigned-integer
Unsigned integers in assembly

Brand new to assembly need some help with unsigned arithmetic. Converting from a C program is that means anything. Using: …

c assembly x86 unsigned-integer