Click here to Skip to main content
15,560,678 members
Articles / Programming Languages / C++11


11 bookmarked

Two's Complement for Unusual Integer Sizes

Rate me:
Please Sign up or sign in to vote.
3.80/5 (2 votes)
19 Feb 2016CPOL3 min read
Getting negative numbers from 10-bit (and other unusual size) integers


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer (Senior)
Sweden Sweden
Orjan has worked as a professional developer - in Sweden and England - since 1993, using a range of languages (C++, Pascal, Delphi, C, C#, Visual Basic, Python and assemblers), but tends to return to C++.

Comments and Discussions