<?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: Limit to seed number in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523940#M74859</link>
    <description>&lt;P&gt;Thanx, this is very interesting.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 14:55:59 GMT</pubDate>
    <dc:creator>johanna_younous</dc:creator>
    <dc:date>2022-07-20T14:55:59Z</dc:date>
    <item>
      <title>Limit to seed number</title>
      <link>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523416#M74816</link>
      <description>&lt;P&gt;Hello everyone&lt;BR /&gt;I was wondering if there were an upper limit to the seed that we can define in JMP ?&amp;nbsp; Can we go up to the infinite or nearby ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I am concatenating&amp;nbsp; big numbers to be able to recreate the same seed each time they occur together, but as those number are increasing with time, the seed will quickly increase as well. So far everything is running fine but I may reach values close to 10^12 or 10^13&amp;nbsp; soon enough.&lt;/P&gt;&lt;P&gt;thanks for your answer !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:51:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523416#M74816</guid>
      <dc:creator>johanna_younous</dc:creator>
      <dc:date>2023-06-10T20:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Limit to seed number</title>
      <link>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523513#M74823</link>
      <description>&lt;P&gt;It is a good question, and I don't have a precise answer. But I'm pretty sure you want to stick with integers from 1 to 2147483647 (2^31-1). After experimenting a bit:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;s1 = 123559868338560;
s2 = 123456789123456;

randomreset(s1);
print("s1:",randomuniform(),randomuniform(),randomuniform());

randomreset(s2);
print("s2:",randomuniform(),randomuniform(),randomuniform());

print("bits:",hex(s1), hex(s2)); // the two numbers are almost the same, in bits
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"s1:"&lt;BR /&gt;0.810199321946129&lt;BR /&gt;0.909442130941897&lt;BR /&gt;0.272601864300668&lt;BR /&gt;"s2:"&lt;BR /&gt;0.810199321946129&lt;BR /&gt;0.909442130941897&lt;BR /&gt;0.272601864300668&lt;BR /&gt;"bits:"&lt;BR /&gt;"42DC182183E46000"&lt;BR /&gt;"42DC122183E46000"&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 16:11:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523513#M74823</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-07-19T16:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Limit to seed number</title>
      <link>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523911#M74854</link>
      <description>&lt;P&gt;You can use the full 32-bit range (except 0), so you should get different random results for seeds from [1,&amp;nbsp;4294967295].&amp;nbsp; Beyond that it will wrap, so note that&amp;nbsp;4294967296 wraps to 0 and uses a random seed.&amp;nbsp; Below is&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;script with seeds 2^32+1 and 1 to show that the random values are the same with these two seeds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;s1 = 4294967297;
s2 = 1;

randomreset(s1);
print("s1:",randomuniform(),randomuniform(),randomuniform());

randomreset(s2);
print("s2:",randomuniform(),randomuniform(),randomuniform());

print("bits:",hex(s1), hex(s2)); // the two numbers are almost the same, in bits&lt;/PRE&gt;
&lt;P&gt;"s1:"&lt;BR /&gt;0.883865864481777&lt;BR /&gt;0.973821102175861&lt;BR /&gt;0.507582586025819&lt;BR /&gt;"s2:"&lt;BR /&gt;0.883865864481777&lt;BR /&gt;0.973821102175861&lt;BR /&gt;0.507582586025819&lt;BR /&gt;"bits:"&lt;BR /&gt;"41F0000000100000"&lt;BR /&gt;"3FF0000000000000"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 14:00:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523911#M74854</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2022-07-20T14:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Limit to seed number</title>
      <link>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523940#M74859</link>
      <description>&lt;P&gt;Thanx, this is very interesting.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 14:55:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Limit-to-seed-number/m-p/523940#M74859</guid>
      <dc:creator>johanna_younous</dc:creator>
      <dc:date>2022-07-20T14:55:59Z</dc:date>
    </item>
  </channel>
</rss>

