<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Just for fun &#8230;</title>
	<atom:link href="http://constantly.at/2007/12/just-for-fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://constantly.at/2007/12/just-for-fun/</link>
	<description>Infrequently updated</description>
	<lastBuildDate>Sat, 06 Mar 2010 23:24:22 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rudi</title>
		<link>http://constantly.at/2007/12/just-for-fun/comment-page-1/#comment-5467</link>
		<dc:creator>rudi</dc:creator>
		<pubDate>Mon, 10 Mar 2008 02:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://constantly.at/blog/2007/12/19/just-for-fun/#comment-5467</guid>
		<description>I went with deftype and coerce instead, and would feel extremely uneasy committing ccl::anything anywhere outside CCL itself.

Hmm, I should really clean up and commit the patch sometime.</description>
		<content:encoded><![CDATA[<p>I went with deftype and coerce instead, and would feel extremely uneasy committing ccl::anything anywhere outside CCL itself.</p>
<p>Hmm, I should really clean up and commit the patch sometime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent Fulgham</title>
		<link>http://constantly.at/2007/12/just-for-fun/comment-page-1/#comment-5466</link>
		<dc:creator>Brent Fulgham</dc:creator>
		<pubDate>Mon, 10 Mar 2008 01:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://constantly.at/blog/2007/12/19/just-for-fun/#comment-5466</guid>
		<description>I ran into the same single-float/double-float issue with the Open Agent Engine (an Open GL and Animation library).   After talking with Gary Byers about it, I ended up with the following function (which should probably be a macro but whatever):

(defun PLATFORM-FLOAT (value)
  #+32-bit-target
  (ccl::float value)
  #+64-bit-target
  (ccl::%double-float value))

Now I use (platform-float abc) to coerce to the right type for calling CoreGraphics, OpenGL, and other Mac OS calls.</description>
		<content:encoded><![CDATA[<p>I ran into the same single-float/double-float issue with the Open Agent Engine (an Open GL and Animation library).   After talking with Gary Byers about it, I ended up with the following function (which should probably be a macro but whatever):</p>
<p>(defun PLATFORM-FLOAT (value)<br />
  #+32-bit-target<br />
  (ccl::float value)<br />
  #+64-bit-target<br />
  (ccl::%double-float value))</p>
<p>Now I use (platform-float abc) to coerce to the right type for calling CoreGraphics, OpenGL, and other Mac OS calls.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
