<?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 Infinite value in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Infinite-value/m-p/82019#M17725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want translate matlab code in sas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below the matlab code:&lt;/P&gt;&lt;P align="left" style="text-align: left; vertical-align: auto;"&gt;&lt;SPAN lang="IT-CH" style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="IT-CH" style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; isinf(delta_VaR),&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left; vertical-align: auto;"&gt;&lt;SPAN lang="IT-CH" style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delta_VaR=.9*sign(delta_VaR)*VaR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the function isinf.&lt;/P&gt;&lt;P&gt;What do I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 13:55:18 GMT</pubDate>
    <dc:creator>nannà</dc:creator>
    <dc:date>2012-06-13T13:55:18Z</dc:date>
    <item>
      <title>Infinite value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infinite-value/m-p/82019#M17725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want translate matlab code in sas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below the matlab code:&lt;/P&gt;&lt;P align="left" style="text-align: left; vertical-align: auto;"&gt;&lt;SPAN lang="IT-CH" style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="IT-CH" style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; isinf(delta_VaR),&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left; vertical-align: auto;"&gt;&lt;SPAN lang="IT-CH" style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delta_VaR=.9*sign(delta_VaR)*VaR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the function isinf.&lt;/P&gt;&lt;P&gt;What do I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infinite-value/m-p/82019#M17725</guid>
      <dc:creator>nannà</dc:creator>
      <dc:date>2012-06-13T13:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infinite-value/m-p/82020#M17726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS is only going to use 8 bytes to store numerics, so there will be a limit to what SAS can consider to be infinite.&amp;nbsp; Here is a sample program to illustrate an approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;x = 1234567890123456789;&lt;/P&gt;&lt;P&gt;y = x + 1;&lt;/P&gt;&lt;P&gt;if x = y then put 'Match';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program writes "Match", because the values of x and y are too large to store exactly in 8 bytes.&amp;nbsp; So this might be one version of "infinite" in the SAS world:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if int(var) = int(var) + 1 then do;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 14:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infinite-value/m-p/82020#M17726</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-06-13T14:07:40Z</dc:date>
    </item>
  </channel>
</rss>

