{"id":417,"date":"2009-11-27T11:50:57","date_gmt":"2009-11-27T11:50:57","guid":{"rendered":"http:\/\/www.codingfriends.com\/?p=417"},"modified":"2009-11-27T11:54:29","modified_gmt":"2009-11-27T11:54:29","slug":"multiplication","status":"publish","type":"post","link":"https:\/\/www.codingfriends.com\/index.php\/2009\/11\/27\/multiplication\/","title":{"rendered":"Multiplication"},"content":{"rendered":"<p>Whilst I was understanding the bits structure of binary values I did come across the page <a href=\"http:\/\/academic.evergreen.edu\/projects\/biophysics\/technotes\/misc\/bin_math.htm\">from here<\/a> about how to do multiplication with binary values and thought that I might as well do it in c++ to understand abit more about the process.<\/p>\n<p>The main part from that page above is<\/p>\n<h3><span style=\"color: #006699;\"><a name=\"multiply\">Rules of Binary Multiplication<\/a><\/span><\/h3>\n<ul>\n<li><kbd>0 x 0 = 0<\/kbd><\/li>\n<li><kbd>0 x 1 = 0<\/kbd><\/li>\n<li><kbd>1 x 0 = 0<\/kbd><\/li>\n<li><kbd>1 x 1 = 1<\/kbd>, and no carry or borrow bits<\/li>\n<\/ul>\n<p><em>For example,<\/em><\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr align=\"right\" valign=\"top\">\n<td rowspan=\"6\"><kbd>00101001 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whilst I was understanding the bits structure of binary values I did come across the page from here about how to do multiplication with binary values and thought that I might as well do it in c++ to understand abit more about the process. The main part from that page above is Rules of Binary &hellip; <a href=\"https:\/\/www.codingfriends.com\/index.php\/2009\/11\/27\/multiplication\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Multiplication<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-c_and_cpp"],"_links":{"self":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":7,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"predecessor-version":[{"id":424,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/417\/revisions\/424"}],"wp:attachment":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}