Edmond Vinarub is a contractor with Consultant EV Associates in Cheshire, Conn. He received a BSEE from the Massachusetts Institute of Technology and a graduate MSEE from Columbia University, New York, N.Y. Email address: Edmond.vinarub@prodigy.net
2 results found for Edmond Vinarub, displaying items 1 - 2
October 2, 2008[Ideas For Design] Easily Convert Decimal Numbers To Their Binary And BCD Formats: Backstory
HERE’S A C/C++ PROGRAM that converts decimal numbers ranging from 0 to 99,999 to binary and binary coded decimal (BCD) formats. Using a simple algorithm in conjunction with pointer arithmetic and bitwise shifting increases the conversion speed without introducing excessive memory overhead and programming complexity. When decimal numbers are within the range of 0 to 9, their binary and BCD representations are identical, requiring only four bits...