My last column introduced the concepts underlying BCD (binary-coded-decimal) representations. In particular, we considered unsigned versus 10s-complement versions of BCD numbers. In this column we are ...
In Part 1 of this two-part binary coded decimal (BCD) extravaganza, we introduced a bunch of bodacious concepts, including the binary (base-2) number system, binary logic, binary computers, and bits, ...
Here's a C/C++ program that converts decimal numbers ranging from 0 to 99,999 to binary and BCD formats. Using a simple algorithm in conjunction with pointer ...