<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ruslan's Blog &#187; common lisp</title>
	<atom:link href="http://ruslanspivak.com/category/common-lisp/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslanspivak.com</link>
	<description>Musings on dynamic languages and more than that</description>
	<lastBuildDate>Wed, 02 Jun 2010 19:16:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ruslanspivak.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/04a636b5f08c182c190ff6d8ae67239e?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ruslan's Blog &#187; common lisp</title>
		<link>http://ruslanspivak.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ruslanspivak.com/osd.xml" title="Ruslan&#039;s Blog" />
	<atom:link rel='hub' href='http://ruslanspivak.com/?pushpress=hub'/>
		<item>
		<title>How to say big numbers in English: Common Lisp</title>
		<link>http://ruslanspivak.com/2007/09/12/how-to-say-big-numbers-in-english-common-lisp/</link>
		<comments>http://ruslanspivak.com/2007/09/12/how-to-say-big-numbers-in-english-common-lisp/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 09:08:46 +0000</pubDate>
		<dc:creator>Ruslan Spivak</dc:creator>
				<category><![CDATA[common lisp]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://ruslanspivak.com/2007/09/12/how-to-say-big-numbers-in-english-common-lisp/</guid>
		<description><![CDATA[When i was describing notations and representation of numbers in Erlang(and Python) i forgot to mention very cool feature of format function in Common Lisp, with which i got acquainted exploring highly-recommended Practical Common Lisp book. This feature is ~R directive which knows how to say really big numbers in English words. Here is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruslanspivak.com&blog=1522719&post=10&subd=ruslanspivak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>When i was describing <a href="http://ruslanspivak.com/2007/09/09/erlang-for-python-programmers-part-i/">notations and representation of numbers in Erlang(and Python)</a> i forgot to mention very cool feature of <strong>format </strong>function in Common Lisp, with which i got acquainted exploring highly-recommended <a href="http://www.gigamonkeys.com/book/">Practical Common Lisp</a> book.</p>
<p>This feature is  <strong>~R</strong> directive which knows how to say really big numbers in English words.</p>
<p>Here is the example (I use <a href="http://sbcl.sourceforge.net/">SBCL</a> + <a href="http://common-lisp.net/project/slime/">SLIME</a>):</p>
<pre style="color:#ffffff;background-color:#000000;font-size:8pt;">
<span style="color:#00ffff;">CL-USER&gt; </span>(format nil "~R" 1604872898756737459538)
<span style="color:#ff0000;">"one sextillion six hundred four quintillion eight hundred seventy-two
quadrillion eight hundred ninety-eight trillion seven hundred fifty-six
billion seven hundred thirty-seven million four hundred fifty-nine
thousand five hundred thirty-eight"</span></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruslanspivak.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruslanspivak.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruslanspivak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruslanspivak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruslanspivak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruslanspivak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruslanspivak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruslanspivak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruslanspivak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruslanspivak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruslanspivak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruslanspivak.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruslanspivak.com&blog=1522719&post=10&subd=ruslanspivak&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://ruslanspivak.com/2007/09/12/how-to-say-big-numbers-in-english-common-lisp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d73d92d1e35b86c5c45667b7a036da3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alienoid</media:title>
		</media:content>
	</item>
	</channel>
</rss>