<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[srand &#x2F; rand]]></title><description><![CDATA[<p>hi</p>
<p>ist es vom standard garantiert, dass rand immer die selben daten ausgibt nachdem man srand mit dem selben parameter aufgerufen hat? dass es in der praxis so ist habe ich bereits festgestellt, ja.</p>
<p>gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/319849/srand-rand</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 19:42:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/319849.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Sep 2013 12:59:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to srand &#x2F; rand on Thu, 05 Sep 2013 12:59:57 GMT]]></title><description><![CDATA[<p>hi</p>
<p>ist es vom standard garantiert, dass rand immer die selben daten ausgibt nachdem man srand mit dem selben parameter aufgerufen hat? dass es in der praxis so ist habe ich bereits festgestellt, ja.</p>
<p>gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2350498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2350498</guid><dc:creator><![CDATA[doktor banane]]></dc:creator><pubDate>Thu, 05 Sep 2013 12:59:57 GMT</pubDate></item><item><title><![CDATA[Reply to srand &#x2F; rand on Thu, 05 Sep 2013 13:11:37 GMT]]></title><description><![CDATA[<p>ja.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2350501</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2350501</guid><dc:creator><![CDATA[camper]]></dc:creator><pubDate>Thu, 05 Sep 2013 13:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to srand &#x2F; rand on Thu, 05 Sep 2013 13:14:23 GMT]]></title><description><![CDATA[<p>C99:</p>
<p>N1256 §7.20.2.2/2 schrieb:</p>
<blockquote>
<p>If srand is then called with the same seed value, the sequence of pseudo-random numbers shall be repeated.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2350503</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2350503</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Thu, 05 Sep 2013 13:14:23 GMT</pubDate></item><item><title><![CDATA[Reply to srand &#x2F; rand on Thu, 05 Sep 2013 14:10:35 GMT]]></title><description><![CDATA[<p>Ein bisschen off-topic:</p>
<p>Wenn du wie ich im Moment <a href="https://dl.dropboxusercontent.com/u/46560320/mlt_4k_mpp.jpg" rel="nofollow">Monte-Carlo-Berechnungen</a> durchführst, dann lass dir gesagt sein, dass std::rand, zumindest die Implementierung, die du über den GCC nutzen würdest, ggf für Deine Zwecke unbrauchbar ist. Die Qualität der Pseudozufallszahlen ist relativ schlecht. Bevor ich auf std::mt19937 ungestiegen bin, sahen die Bilder echt kacke aus. &quot;Guter Zufall&quot; ist zumindest bei dem <a href="https://en.wikipedia.org/wiki/Metropolis_light_transport" rel="nofollow">MLT</a> Algorithmus sehr wichtig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2350528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2350528</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Thu, 05 Sep 2013 14:10:35 GMT</pubDate></item></channel></rss>