Why doesn't unsigned long long int in C++ allow negative values?

I tried using the unsigned long long int type for implementing something similar to the BigInteger of Java in C++ but I found out that unfortunately unsigned long long int doesn't support negative values. Why doesn't C++ allow unsigned long long int to store negative values when it has such a huge range for positive values?



from Recent Questions - Stack Overflow https://ift.tt/3nq5K6z
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations