<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Division by zero in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691108#M1451135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wikipedia gives a good example (I'm paraphrasing):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 / 0 = X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;therefore:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X * 0 = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any value of  X will satisfy the equation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Mar 2010 14:58:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-11T14:58:47Z</dc:date>
    <item>
      <title>Division by zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691104#M1451131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this not giving a dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;i = 0.
  j = 0.
  num = i / j.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesnt dump too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  num = 0 / 0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this dumps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;i = 1.
  j = 0.
  num = i / j.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this some kind of weired short cut evaluation? Or is 0/0 now defined since i finished school?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems that the runtime assumes that everything after 0 / is always zero. Debugging case 1 and two shows that num contains zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this behaviour documented?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:44:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691104#M1451131</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-11T14:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Division by zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691105#M1451132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From SAP Help (help for key word &lt;STRONG&gt;DIVIDE&lt;/STRONG&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Furthermore: Division by 0 is not allowed, except where 0 / 0 results in 0.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691105#M1451132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T14:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Division by zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691106#M1451133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rainer ,, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very good observation . Im doing math myself now..:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.newton.dep.anl.gov/askasci/math99/math99259.htm" target="test_blank"&gt;http://www.newton.dep.anl.gov/askasci/math99/math99259.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//You have started with an inaccurate assumption, that is: 0/0 = infinity. &lt;/P&gt;&lt;P&gt;The ratio 0/0 is called "indeterminate" because it is defined in terms of &lt;/P&gt;&lt;P&gt;the limit (as x ---&amp;gt; 0) of the numerator N(x) divided by the limit&lt;/P&gt;&lt;P&gt;(as x ---&amp;gt;0) of the denominator D(x). If N(x) approaches zero "faster" than &lt;/P&gt;&lt;P&gt;D(x) the ratio is zero. If D(x) approaches zero "faster" than N(x) the ratio &lt;/P&gt;&lt;P&gt;approaches infinity. They may approach zero at different, but finite, rates.&lt;/P&gt;&lt;P&gt;If they approach zero "at exactly the same rate" you have to apply the &lt;/P&gt;&lt;P&gt;test again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br, &lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691106#M1451133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Division by zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691107#M1451134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output 'infinity' leads to dump.&lt;/P&gt;&lt;P&gt;Basic Arithmetic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691107#M1451134</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-03-11T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Division by zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691108#M1451135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wikipedia gives a good example (I'm paraphrasing):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 / 0 = X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;therefore:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X * 0 = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any value of  X will satisfy the equation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691108#M1451135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T14:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Division by zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691109#M1451136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this intriguing. Because any value of X will satisfy the equation: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X = 0 / 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect that if you assign the result of the division 0 / 0 to a variable, the value of the variable would remain unchanged. so if you write a program like: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest LINE-SIZE 80 MESSAGE-ID 00. 
PARAMETERS: i TYPE i. 
i = 0 / 0. 
WRITE: /001 i.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I would retain its value; however, the result is always 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like a bug to me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 18:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/division-by-zero/m-p/6691109#M1451136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T18:25:27Z</dc:date>
    </item>
  </channel>
</rss>

