<?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/"
	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>Comments on: Complex Issues</title>
	<atom:link href="http://justrakudoit.wordpress.com/2011/08/31/complex-issues/feed/" rel="self" type="application/rss+xml" />
	<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/</link>
	<description>I Never Metaop I Didn&#039;t Like</description>
	<lastBuildDate>Thu, 07 Mar 2013 12:58:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: cjm</title>
		<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/#comment-2631</link>
		<dc:creator><![CDATA[cjm]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 18:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://justrakudoit.wordpress.com/?p=371#comment-2631</guid>
		<description><![CDATA[jamarier, I strongly disagree. You&#039;re correct that in the mathematical sense, sqrt(x) has two answers, and asin(x) has an infinite number of answers.

But in a computer programming language, the range of the sqrt and asin functions should be defined such that there is only 1 correct answer for each possible input.  Programming is hard enough as it is; any surprises that can be removed should be removed.]]></description>
		<content:encoded><![CDATA[<p>jamarier, I strongly disagree. You&#8217;re correct that in the mathematical sense, sqrt(x) has two answers, and asin(x) has an infinite number of answers.</p>
<p>But in a computer programming language, the range of the sqrt and asin functions should be defined such that there is only 1 correct answer for each possible input.  Programming is hard enough as it is; any surprises that can be removed should be removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamarier</title>
		<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/#comment-2630</link>
		<dc:creator><![CDATA[jamarier]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 17:11:14 +0000</pubDate>
		<guid isPermaLink="false">http://justrakudoit.wordpress.com/?p=371#comment-2630</guid>
		<description><![CDATA[It&#039;s a bad test because both answers are correct.

(sqrt 1)^3 can be 1 or -1. and both are ok answers.

Maybe a best test is something like ( asin(sin(asin x)) == asin x )]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s a bad test because both answers are correct.</p>
<p>(sqrt 1)^3 can be 1 or -1. and both are ok answers.</p>
<p>Maybe a best test is something like ( asin(sin(asin x)) == asin x )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sorear</title>
		<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/#comment-2627</link>
		<dc:creator><![CDATA[sorear]]></dc:creator>
		<pubDate>Thu, 01 Sep 2011 14:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://justrakudoit.wordpress.com/?p=371#comment-2627</guid>
		<description><![CDATA[The Perl 6 specs already specify &quot;principal&quot; square root, which apparently means the same thing that POSIX and Common Lisp specify.  Niecza has now been fixed to do that too.]]></description>
		<content:encoded><![CDATA[<p>The Perl 6 specs already specify &#8220;principal&#8221; square root, which apparently means the same thing that POSIX and Common Lisp specify.  Niecza has now been fixed to do that too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: salva</title>
		<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/#comment-2626</link>
		<dc:creator><![CDATA[salva]]></dc:creator>
		<pubDate>Thu, 01 Sep 2011 09:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://justrakudoit.wordpress.com/?p=371#comment-2626</guid>
		<description><![CDATA[follow C and POSIX (that AFAIK is similar to Common Lisp behavior):

http://pubs.opengroup.org/onlinepubs/009695399/functions/csqrt.html]]></description>
		<content:encoded><![CDATA[<p>follow C and POSIX (that AFAIK is similar to Common Lisp behavior):</p>
<p><a href="http://pubs.opengroup.org/onlinepubs/009695399/functions/csqrt.html" rel="nofollow">http://pubs.opengroup.org/onlinepubs/009695399/functions/csqrt.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cjm</title>
		<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/#comment-2625</link>
		<dc:creator><![CDATA[cjm]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 19:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://justrakudoit.wordpress.com/?p=371#comment-2625</guid>
		<description><![CDATA[1) Yes, there should be one &quot;correct&quot; answer for all Perl 6 implementations.

2) Let&#039;s just follow Common Lisp.  They&#039;ve got the experience, and they&#039;ve already written the definitions.  Just make sure we get the current definitions.  (I&#039;m not a Lisp expert, so I&#039;m not sure if the link you mention is up-to-date.)

Here&#039;s another link to look at: 
http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_asincm_acoscm_atan.html]]></description>
		<content:encoded><![CDATA[<p>1) Yes, there should be one &#8220;correct&#8221; answer for all Perl 6 implementations.</p>
<p>2) Let&#8217;s just follow Common Lisp.  They&#8217;ve got the experience, and they&#8217;ve already written the definitions.  Just make sure we get the current definitions.  (I&#8217;m not a Lisp expert, so I&#8217;m not sure if the link you mention is up-to-date.)</p>
<p>Here&#8217;s another link to look at:<br />
<a href="http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_asincm_acoscm_atan.html" rel="nofollow">http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_asincm_acoscm_atan.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: colomon</title>
		<link>http://justrakudoit.wordpress.com/2011/08/31/complex-issues/#comment-2624</link>
		<dc:creator><![CDATA[colomon]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 16:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://justrakudoit.wordpress.com/?p=371#comment-2624</guid>
		<description><![CDATA[http://www.ida.liu.se/imported/cltl/clm/node129.html looks to have some interesting info...]]></description>
		<content:encoded><![CDATA[<p><a href="http://www.ida.liu.se/imported/cltl/clm/node129.html" rel="nofollow">http://www.ida.liu.se/imported/cltl/clm/node129.html</a> looks to have some interesting info&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
