Binary

September 7, 2005 on 9:26 am | In Computing, School |

Today’s Embedded Applications theory lessons were about how a computer calculates.

Nothing too new but still quite interesting. For example, I didn’t know that you could convert a decimal number to binary by just doing <decimal> modulo 2, then dividing <decimal> by 2, and then loop that, prefixing the new answer before the old one(s), until <decimal> is 0 :o

Interesting.

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^