<?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/"
	>

<channel>
	<title>EmbLogic &#187; kapil kumar singh</title>
	<atom:link href="https://www.emblogic.com/blog/author/kapiljai99/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>floating point number</title>
		<link>https://www.emblogic.com/blog/12/floating-point-number/</link>
		<comments>https://www.emblogic.com/blog/12/floating-point-number/#comments</comments>
		<pubDate>Fri, 09 Dec 2016 11:54:12 +0000</pubDate>
		<dc:creator><![CDATA[kapil kumar singh]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=13714</guid>
		<description><![CDATA[why the floating point number initialising with f in postfix&#8230;&#8230;&#8230;. e.g. if we take two floating point number f1 = 0.5f; f2 = 0.3f; and if we print, then two different result if( f1 == 0.5f ) { printf(&#8220;f1 = &#8230; <a href="https://www.emblogic.com/blog/12/floating-point-number/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>why the floating point number initialising with f in postfix&#8230;&#8230;&#8230;.</p>
<p>e.g.</p>
<p>if we take two floating point number</p>
<p>f1 = 0.5f;</p>
<p>f2 = 0.3f;</p>
<p>and if we print, then two different result</p>
<p>if( f1 == 0.5f )</p>
<p>{</p>
<p>printf(&#8220;f1 = %f\n&#8221;,f1);</p>
<p>printf(&#8220;True&#8221;);</p>
<p>}</p>
<p>else</p>
<p>printf(&#8220;False&#8221;);</p>
<p>//case 2</p>
<p>if( f2 == 0.3f )</p>
<p>{</p>
<p>printf(&#8220;f2 = %f\n&#8221;,f2);</p>
<p>printf(&#8220;True&#8221;);</p>
<p>}</p>
<p>else</p>
<p>printf(&#8220;False&#8221;);</p>
<p>&nbsp;</p>
<p>the above two if case give two different result&#8230;&#8230;.</p>
<p>understand if no just wait for next  &#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/floating-point-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
