From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45359f79d760ffae8f9d6d769e8087c2@quanstro.net> From: erik quanstrom Date: Wed, 19 Dec 2007 19:51:38 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] fun and scary evil C code In-Reply-To: <3FA5A9CA-EE09-4FDB-A9AA-118E3E8A3AB6@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1d4c3e90-ead3-11e9-9d60-3106f5b1d025 > I lied. > They're actually using that stuff to pick apart the (presumed IEEE 754) > doubles into exponent, mantissa, ... > > My questions still stand ... > > Also, that file is such a tangled nest of ifdefs ... > is anyone sure whether (and if so, when) that code is invoked? interesting conflicts on the web. http://en.wikipedia.org/wiki/IEEE_754 says c doesn't require ieee, http://home.datacomm.ch/t_wolf/tw/c/c9x_changes.html point #21. says it does. in any event, if ieee is used, i think the trick is safe. - erik