 




<?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: Sub-pgm is to calculate X to the power of Y and then return Z. (using RPGIV / RPGILE)</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/sub-pgm-is-to-calculate-x-to-the-power-of-y-and-then-return-z-using-rpgiv-rpgile/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/sub-pgm-is-to-calculate-x-to-the-power-of-y-and-then-return-z-using-rpgiv-rpgile/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 18:28:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: astradyne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sub-pgm-is-to-calculate-x-to-the-power-of-y-and-then-return-z-using-rpgiv-rpgile/#comment-37075</link>
		<dc:creator>astradyne</dc:creator>
		<pubDate>Sat, 23 Apr 2005 20:31:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-37075</guid>
		<description><![CDATA[Hi Dgrove,

I would guess because she isn&#039;t doing a straight forward &quot;raise to the power of&quot; calculation.  The original question stated four rules:


I have this in mind - &gt; 4 cases:
(1) If Y  1, then Z = X to the power of n


which involves a couple of extra lines for conditions, etc.

All the best

Jonathan]]></description>
		<content:encoded><![CDATA[<p>Hi Dgrove,</p>
<p>I would guess because she isn&#8217;t doing a straight forward &#8220;raise to the power of&#8221; calculation.  The original question stated four rules:</p>
<p>I have this in mind &#8211; &gt; 4 cases:<br />
(1) If Y  1, then Z = X to the power of n</p>
<p>which involves a couple of extra lines for conditions, etc.</p>
<p>All the best</p>
<p>Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dgrove</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sub-pgm-is-to-calculate-x-to-the-power-of-y-and-then-return-z-using-rpgiv-rpgile/#comment-37076</link>
		<dc:creator>dgrove</dc:creator>
		<pubDate>Fri, 22 Apr 2005 10:16:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-37076</guid>
		<description><![CDATA[Why do you need a sub program, as you can code EVAL Z=X**Y
directly in your program?

You should consider defining the result as a floating point field which allows +ve and -ve numbers 10 power-308 thru 10 power 308 with 16 significant digits if your potentail results are not within the range of a fixed packed decimal format]]></description>
		<content:encoded><![CDATA[<p>Why do you need a sub program, as you can code EVAL Z=X**Y<br />
directly in your program?</p>
<p>You should consider defining the result as a floating point field which allows +ve and -ve numbers 10 power-308 thru 10 power 308 with 16 significant digits if your potentail results are not within the range of a fixed packed decimal format</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.038 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 19:02:59 -->