<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-28344720.post7697769045850533433..comments</id><updated>2008-12-03T18:39:41.353-07:00</updated><title type='text'>Comments on Chip Overclock: Generic Embedded Programming Using the C Preproces...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coverclock.blogspot.com/feeds/7697769045850533433/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28344720/7697769045850533433/comments/default'/><link rel='alternate' type='text/html' href='http://coverclock.blogspot.com/2008/05/generic-embedded-programming-using-c.html'/><author><name>Chip Overclock</name><uri>http://www.blogger.com/profile/11195242013008369733</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28344720.post-7536977055259143640</id><published>2008-12-03T18:39:00.000-07:00</published><updated>2008-12-03T18:39:00.000-07:00</updated><title type='text'>That'll show me not to second guess myself. I adop...</title><content type='html'>That'll show me not to second guess myself. I adopted this article from the Desperado generics.h header file (which I also wrote), which has versions of these macros with so much casting (and parenthesis) that they are unreadable. But they do have a unit test that shows that those versions work. I tried to simplify the macros for this article, and botched it. Thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28344720/7697769045850533433/comments/default/7536977055259143640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28344720/7697769045850533433/comments/default/7536977055259143640'/><link rel='alternate' type='text/html' href='http://coverclock.blogspot.com/2008/05/generic-embedded-programming-using-c.html?showComment=1228354740000#c7536977055259143640' title=''/><author><name>Chip Overclock</name><uri>http://www.blogger.com/profile/11195242013008369733</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07073701207084024072'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://coverclock.blogspot.com/2008/05/generic-embedded-programming-using-c.html' ref='tag:blogger.com,1999:blog-28344720.post-7697769045850533433' source='http://www.blogger.com/feeds/28344720/posts/default/7697769045850533433' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-28344720.post-9212867134797805079</id><published>2008-12-03T10:46:00.000-07:00</published><updated>2008-12-03T10:46:00.000-07:00</updated><title type='text'>I came across your post when I was trying to find ...</title><content type='html'>I came across your post when I was trying to find a way to determine if a variable is signed or unsigned in the preprocessor.  Oddly enough, your Max/Min defines were my end goal.&lt;BR/&gt;&lt;BR/&gt;I however, have found a slight error in your code.  Under most circumstances, it works great.  However, when I attempted to get the size of a &lt;I&gt;short&lt;/I&gt;, or any type less than the computer's native size, I would get warnings and the comparison for signed/unsigned would not work properly.  Adding &lt;I&gt;(TYPE)&lt;/I&gt; in front of the inversion(~), on the &lt;I&gt;max&lt;/I&gt; defines fixed this issue.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28344720/7697769045850533433/comments/default/9212867134797805079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28344720/7697769045850533433/comments/default/9212867134797805079'/><link rel='alternate' type='text/html' href='http://coverclock.blogspot.com/2008/05/generic-embedded-programming-using-c.html?showComment=1228326360000#c9212867134797805079' title=''/><author><name>Jeremy Overesch</name><uri>http://www.millerwelds.com</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://coverclock.blogspot.com/2008/05/generic-embedded-programming-using-c.html' ref='tag:blogger.com,1999:blog-28344720.post-7697769045850533433' source='http://www.blogger.com/feeds/28344720/posts/default/7697769045850533433' type='text/html'/></entry></feed>