跳到主要內容

One's Complement, Two's Complement


https://www.youtube.com/watch?v=Z3mswCN2FJs

"Two's complement successfully solves the problem of storing and manipulating negative numbers,
but recognize that, by sacrificing the first bit for flagging the sign, we are change the range of numbers we can represent. Four bits can represent the numbers 0 through 15 without a signed bit, and -8 through positive 7 with a sign bit. "

留言

這個網誌中的熱門文章

Benefits of logging progress

Logging your experience has important benefits: Working through the steps will keep you from getting stalled. As a cohort you will build up a useful body of information that others can learn from. You will have a chance to find other students working on similar challenges, allowing you to collaborate.