<?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: When is C# 2.0 not equal to C# 2.0?</title>
	<atom:link href="http://www.christec.co.nz/blog/archives/86/feed" rel="self" type="application/rss+xml" />
	<link>http://www.christec.co.nz/blog/archives/86</link>
	<description>Development for a mobile world - Making a quality platform one application at a time</description>
	<lastBuildDate>Fri, 12 Mar 2010 05:38:21 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christopher Fairbairn</title>
		<link>http://www.christec.co.nz/blog/archives/86/comment-page-1#comment-10626</link>
		<dc:creator>Christopher Fairbairn</dc:creator>
		<pubDate>Thu, 07 Aug 2008 22:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/86#comment-10626</guid>
		<description>It was pointed out to me recently that my comments about their being no Sin or Cos functions within the System.Math class of the .NET Micro Framework BCL is slightly confusing.

Although they are not present within &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc318405.aspx&quot; rel=&quot;nofollow&quot;&gt;System.Math&lt;/a&gt; there are forms of these functions within the .NET Micro Framework specific &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc318395.aspx&quot; rel=&quot;nofollow&quot;&gt;Microsoft.SPOT.Math&lt;/a&gt; class. For example you can find the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc319420.aspx&quot; rel=&quot;nofollow&quot;&gt;documentation for the Sin method&lt;/a&gt; on MSDN.

What I was trying to infer in my original post about the lack of Sin and Cos methods was code portability with source code originally designed for other versions of the .NET Framework. 

The reason why Sin is located within a different class on the .NET Micro Framework is due to API incompatabilities. You will notice from the documentation that the .NET Micro Framework version works with integer parameters measured in degrees, while the other versions of the .NET Framework deal with floating point parameters measured in radians. This means porting code is not as simple as changing your using statement.</description>
		<content:encoded><![CDATA[<p>It was pointed out to me recently that my comments about their being no Sin or Cos functions within the System.Math class of the .NET Micro Framework BCL is slightly confusing.</p>
<p>Although they are not present within <a href="http://msdn.microsoft.com/en-us/library/cc318405.aspx" rel="nofollow">System.Math</a> there are forms of these functions within the .NET Micro Framework specific <a href="http://msdn.microsoft.com/en-us/library/cc318395.aspx" rel="nofollow">Microsoft.SPOT.Math</a> class. For example you can find the <a href="http://msdn.microsoft.com/en-us/library/cc319420.aspx" rel="nofollow">documentation for the Sin method</a> on MSDN.</p>
<p>What I was trying to infer in my original post about the lack of Sin and Cos methods was code portability with source code originally designed for other versions of the .NET Framework. </p>
<p>The reason why Sin is located within a different class on the .NET Micro Framework is due to API incompatabilities. You will notice from the documentation that the .NET Micro Framework version works with integer parameters measured in degrees, while the other versions of the .NET Framework deal with floating point parameters measured in radians. This means porting code is not as simple as changing your using statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Kühner</title>
		<link>http://www.christec.co.nz/blog/archives/86/comment-page-1#comment-45</link>
		<dc:creator>Jens Kühner</dc:creator>
		<pubDate>Mon, 30 Jul 2007 13:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/86#comment-45</guid>
		<description>An update for this class is available.</description>
		<content:encoded><![CDATA[<p>An update for this class is available.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
