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

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 28.4K   11  
Getting negative numbers from 10-bit (and other unusual size) integers

Views

Daily Counts

License

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