<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Divide by Zero</title>
		<link>http://rbwhitaker.wikidot.com/forum/t-620135/divide-by-zero</link>
		<description>Posts in the discussion thread &quot;Divide by Zero&quot; - explanation of why Divide/0 using Int crashes and Float/Double does not</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 07 Aug 2026 18:47:55 +0000</lastBuildDate>
		
					<item>
				<guid>http://rbwhitaker.wikidot.com/forum/t-620135#post-1698143</guid>
				<title>Divide by Zero</title>
				<link>http://rbwhitaker.wikidot.com/forum/t-620135/divide-by-zero#post-1698143</link>
				<description></description>
				<pubDate>Tue, 29 Jan 2013 20:25:39 +0000</pubDate>
				<wikidot:authorName>Sorthious</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>From &quot;More Math&quot; section:</p> <blockquote> <p>Interestingly enough, if you are using a floating point type, like double or float, it doesn't crash. I don't know why the two categories are handled differently, but they are. Instead, you'll get the resulting value of Infinity. Which we'll discuss more… right… now….<br /> quoted text</p> </blockquote> <p>I think the reason this happens is that Int, from what I think I understand, returns an Integer and not a &quot;Real&quot; number. The only way a value can return for 1/0 is if it is in fractional form, which I think you stated in a previous lesson. This is my guess as to why this happens&#8230;I'm sure you could probably word it a little better.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>