<?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[Apokalyptische Potenzen finden&#x2F;darstellen]]></title><description><![CDATA[<p>Ein Beispiel für das Thema der Erzeugung und Untersuchung großer Zahlen sind die &quot;apocalyptic numbers&quot; der Form 2^n, die in ihrer dezimalen Darstellung die aus der Offenbarung bekannte Ziffernfolge &quot;666&quot; enthalten. Die kleinste dieser Zahlen soll 2^157 sein und unterhalb 10000 soll es 6485 davon geben.<br />
<a href="http://oeis.org/A007356" rel="nofollow">http://oeis.org/A007356</a></p>
<p>Wir schreiben ein Programm, mit dem wir natürlich auch andere Basen als 2 verwenden und andere Ziffernfolgen identifizieren können.</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;mpirxx.h&gt;

//#define SHOWNUMBERS

using namespace std;

mpz_class power(mpz_class number, uint64_t i) // not optimized // not used here
{
	if (i == 0)
		return mpz_class(1);

	mpz_class result = number;
	for (uint64_t a = 1; a &lt; i; ++a)
		result *= number;
	return result;
}

mpz_class power2(uint64_t i)
{
	if (i == 0)
		return mpz_class(1);

	mpz_class result = 2;
	result &lt;&lt;= (i-1);
	return result;
}

int main()
{
	mpz_class number;
	uint64_t limit = 50000, count = 0;

	for (uint64_t i = 0; i &lt; limit; ++i)
	{	
		number = power2(i);
		string str = number.get_str();
		size_t pos = str.find(&quot;666&quot;); // Apokalyse, 13,18
		if (pos != string::npos)
		{
#ifdef SHOWNUMBERS           
			cout &lt;&lt; &quot;exp = &quot; &lt;&lt; i &lt;&lt; &quot;,  pos = &quot; &lt;&lt; pos &lt;&lt; endl;
			cout &lt;&lt; number &lt;&lt; endl;
#endif
			++count;
		}					
	}
	cout &lt;&lt; &quot;\nbelow n = &quot; &lt;&lt; limit &lt;&lt; &quot; exist &quot; &lt;&lt; count &lt;&lt; &quot; apocalyptic numbers 2^n&quot; &lt;&lt; endl;
}
</code></pre>
<p>output bei limit = 10000:<br />
<em>below n = 10000 exist 6485 apocalyptic numbers 2^n</em></p>
<p>output bei limit = 50000:<br />
<em>below n = 50000 exist 46284 apocalyptic numbers 2^n</em></p>
<p>Interessant ist, wie sich analoge Ziffernfolgen &quot;000&quot;, &quot;111&quot;, ... &quot;999&quot; in der Häufigkeit unterscheiden.</p>
<p>Man kann diese Ziffernfolgen auch mit anderen Eigenschaften wie Primzahlen etc. verknüpfen (Fibonacci apocalypse number, apocalypse prime).</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/334105/apokalyptische-potenzen-finden-darstellen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 01:00:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/334105.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Aug 2015 22:31:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Fri, 21 Aug 2015 22:59:33 GMT]]></title><description><![CDATA[<p>Ein Beispiel für das Thema der Erzeugung und Untersuchung großer Zahlen sind die &quot;apocalyptic numbers&quot; der Form 2^n, die in ihrer dezimalen Darstellung die aus der Offenbarung bekannte Ziffernfolge &quot;666&quot; enthalten. Die kleinste dieser Zahlen soll 2^157 sein und unterhalb 10000 soll es 6485 davon geben.<br />
<a href="http://oeis.org/A007356" rel="nofollow">http://oeis.org/A007356</a></p>
<p>Wir schreiben ein Programm, mit dem wir natürlich auch andere Basen als 2 verwenden und andere Ziffernfolgen identifizieren können.</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;mpirxx.h&gt;

//#define SHOWNUMBERS

using namespace std;

mpz_class power(mpz_class number, uint64_t i) // not optimized // not used here
{
	if (i == 0)
		return mpz_class(1);

	mpz_class result = number;
	for (uint64_t a = 1; a &lt; i; ++a)
		result *= number;
	return result;
}

mpz_class power2(uint64_t i)
{
	if (i == 0)
		return mpz_class(1);

	mpz_class result = 2;
	result &lt;&lt;= (i-1);
	return result;
}

int main()
{
	mpz_class number;
	uint64_t limit = 50000, count = 0;

	for (uint64_t i = 0; i &lt; limit; ++i)
	{	
		number = power2(i);
		string str = number.get_str();
		size_t pos = str.find(&quot;666&quot;); // Apokalyse, 13,18
		if (pos != string::npos)
		{
#ifdef SHOWNUMBERS           
			cout &lt;&lt; &quot;exp = &quot; &lt;&lt; i &lt;&lt; &quot;,  pos = &quot; &lt;&lt; pos &lt;&lt; endl;
			cout &lt;&lt; number &lt;&lt; endl;
#endif
			++count;
		}					
	}
	cout &lt;&lt; &quot;\nbelow n = &quot; &lt;&lt; limit &lt;&lt; &quot; exist &quot; &lt;&lt; count &lt;&lt; &quot; apocalyptic numbers 2^n&quot; &lt;&lt; endl;
}
</code></pre>
<p>output bei limit = 10000:<br />
<em>below n = 10000 exist 6485 apocalyptic numbers 2^n</em></p>
<p>output bei limit = 50000:<br />
<em>below n = 50000 exist 46284 apocalyptic numbers 2^n</em></p>
<p>Interessant ist, wie sich analoge Ziffernfolgen &quot;000&quot;, &quot;111&quot;, ... &quot;999&quot; in der Häufigkeit unterscheiden.</p>
<p>Man kann diese Ziffernfolgen auch mit anderen Eigenschaften wie Primzahlen etc. verknüpfen (Fibonacci apocalypse number, apocalypse prime).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465121</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Fri, 21 Aug 2015 22:59:33 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Fri, 21 Aug 2015 22:50:24 GMT]]></title><description><![CDATA[<p>Das ist mal eine Zahlenreihe, von der ich nie zuvor gehört habe. Du suchst weiterhin Optimierungen? Mir gefällt beim ersten Draufsehen nicht, wie du die Sequenz &quot;666&quot; suchst: Stringdurchsuchungsalgorithmen sind an sich zwar nicht schlecht, aber zum Erstellen des Strings machen wir ja bereits genau das, was wir hier als Ziel haben: Wir &quot;durchsuchen&quot; die Zahl nach den Ziffern 0 bis 9. Aber wir können ja genau so gut nach der Ziffernfolge &quot;666&quot; suchen und haben dabei ungefähr den gleichen Aufwand wie bei der Erstellung des String, aber ohne die anschließende Suchaktion:</p>
<pre><code>while (value)
    {
      if (value % 1000 == 666)
        std::cout &lt;&lt; &quot;Found it!&quot;;
      value /= 10;
    }
</code></pre>
<p>Zu deiner power-Funktion (die du aber nirgends benutzt, oder?): Divide &amp; Conquer? Damit würdest du dir etliche Multiplikationen sparen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465123</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465123</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Fri, 21 Aug 2015 22:50:24 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 00:02:50 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/19375">@SeppJ</a>: Danke für den Hinweis bezügl. der möglicherweise beschleunigten Suchfunktion. Das werde ich mit Zeitmessung mal gegeneinander antreten lassen.</p>
<p>Zum Thema pow:</p>
<p>Ich habe mpz_ui_pow_ui gegen mein power2 antreten lassen. Die gemessenen Zeiten sind etwa gleich, sodass ich dies hier vorschlage: <a href="http://codepad.org/awmAdU9n" rel="nofollow">http://codepad.org/awmAdU9n</a></p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/19375">@SeppJ</a>: Dein String-Suchtest kommt auch noch dran:</p>
<p>Variante 1:</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;chrono&gt;
#include &lt;mpirxx.h&gt;

//#define SHOWNUMBERS

using namespace std;

mpz_class power(mpz_class number, mpz_class i)
{
	mpz_class result;
	mpz_ui_pow_ui (result.get_mpz_t(), number.get_ui(), i.get_ui());
	return result;
}

int main()
{
	mpz_class number;
	uint64_t limit = 10000, count = 0;
	auto start_time = chrono::high_resolution_clock::now();

	for (uint64_t i = 0; i &lt; limit; ++i)
	{	
		number = power(2,i); 

		while (number&gt;0)
		{
			if (number % 1000 == 666)
			{
				++count;
				break;
			}				
			number /= 10;
		}						
	}
	auto end_time = chrono::high_resolution_clock::now();
	cout &lt;&lt; &quot;\nbelow n = &quot; &lt;&lt; limit &lt;&lt; &quot; exist &quot; &lt;&lt; count &lt;&lt; &quot; apocalyptic numbers 2^n&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;time: &quot; &lt;&lt; chrono::duration_cast&lt;chrono::milliseconds&gt;(end_time - start_time).count() &lt;&lt; &quot; ms&quot; &lt;&lt; endl;
}
</code></pre>
<p>output: (Suchfunktion stimmt, wie man sieht)<br />
<em>below n = 10000 exist 6485 apocalyptic numbers 2^n<br />
time: 16687 ms</em></p>
<p>Variante 2:</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;chrono&gt;
#include &lt;mpirxx.h&gt;

//#define SHOWNUMBERS

using namespace std;

mpz_class power(mpz_class number, mpz_class i)
{
	mpz_class result;
	mpz_ui_pow_ui (result.get_mpz_t(), number.get_ui(), i.get_ui());
	return result;
}

int main()
{
	mpz_class number;
	uint64_t limit = 10000, count = 0;
	auto start_time = chrono::high_resolution_clock::now();

	for (uint64_t i = 0; i &lt; limit; ++i)
	{	
		number = power(2,i); 

		string str = number.get_str();
		size_t pos = str.find(&quot;666&quot;); // Revelation, 13,18
		if (pos != string::npos)
		{
#ifdef SHOWNUMBERS           
			cout &lt;&lt; &quot;exp = &quot; &lt;&lt; i &lt;&lt; &quot;,  pos = &quot; &lt;&lt; pos &lt;&lt; endl;
			cout &lt;&lt; number &lt;&lt; endl;
#endif
			++count;
		}
	}
	auto end_time = chrono::high_resolution_clock::now();
	cout &lt;&lt; &quot;\nbelow n = &quot; &lt;&lt; limit &lt;&lt; &quot; exist &quot; &lt;&lt; count &lt;&lt; &quot; apocalyptic numbers 2^n&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;time: &quot; &lt;&lt; chrono::duration_cast&lt;chrono::milliseconds&gt;(end_time - start_time).count() &lt;&lt; &quot; ms&quot; &lt;&lt; endl;
}
</code></pre>
<p>output:<br />
<em>below n = 10000 exist 6485 apocalyptic numbers 2^n<br />
time: 455 ms</em></p>
<p>Die Methodik mit get_str() und str.find(...) ist schneller, wenn ich das richtig aufgesetzt habe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465124</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sat, 22 Aug 2015 00:02:50 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 07:55:31 GMT]]></title><description><![CDATA[<p>Das liegt ziemlich sicher daran, das er String nicht so erzeugt wird, wie in SeppJs naiver Vorstellung. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /> Trotzdem hat er grundsaetzlich recht, ein zwischenspeichern in einem String ist nicht noetig und allein early out darin spart wahrscheinlich schon 50% der Zeit. Hast du den Quellcode von get_str()? Daraus laesst sich mit minimalem Aufwand eine bessere Version bauen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465139</guid><dc:creator><![CDATA[TGGC]]></dc:creator><pubDate>Sat, 22 Aug 2015 07:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 08:22:05 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Das ist mal eine Zahlenreihe, von der ich nie zuvor gehört habe. Du suchst weiterhin Optimierungen? Mir gefällt beim ersten Draufsehen nicht, wie du die Sequenz &quot;666&quot; suchst: Stringdurchsuchungsalgorithmen sind an sich zwar nicht schlecht, aber zum Erstellen des Strings machen wir ja bereits genau das, was wir hier als Ziel haben: Wir &quot;durchsuchen&quot; die Zahl nach den Ziffern 0 bis 9. Aber wir können ja genau so gut nach der Ziffernfolge &quot;666&quot; suchen und haben dabei ungefähr den gleichen Aufwand wie bei der Erstellung des String, aber ohne die anschließende Suchaktion:</p>
<pre><code>while (value)
    {
      if (value % 1000 == 666)
        std::cout &lt;&lt; &quot;Found it!&quot;;
      value /= 10;
    }
</code></pre>
<p>Zu deiner power-Funktion (die du aber nirgends benutzt, oder?): Divide &amp; Conquer? Damit würdest du dir etliche Multiplikationen sparen.</p>
</blockquote>
<p>Nicht sicher.<br />
Wenn value ein BigInt mit n Ziffern ist, kostet jedes /=10 oder %1000 oder %10 ein O(n), und das sperrst Du in eine n-mal-Schleife.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465142</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465142</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 22 Aug 2015 08:22:05 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 08:45:29 GMT]]></title><description><![CDATA[<p>String ist der informatische Weg. Der Mathematiker definiert sich eine eine Folge für die Deziamlziffern, die in dem Fall am besten noch rekursiv definiert ist.<br />
Am besten überlegst du dir mal, was bei der Umwandlung vom 2er Systen is 10er System so passiert und guckst, ob du was interessantes findest. Ich suche auch noch mal danach.</p>
<p>Wie kommst du eigentlich zu apokalytischen Zahlen :D?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465143</guid><dc:creator><![CDATA[Bengo]]></dc:creator><pubDate>Sat, 22 Aug 2015 08:45:29 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 08:45:42 GMT]]></title><description><![CDATA[<p>TGGC schrieb:</p>
<blockquote>
<p>Das liegt ziemlich sicher daran, das er String nicht so erzeugt wird, wie in SeppJs naiver Vorstellung. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /> Trotzdem hat er grundsaetzlich recht, ein zwischenspeichern in einem String ist nicht noetig und allein early out darin spart wahrscheinlich schon 50% der Zeit. Hast du den Quellcode von get_str()? Daraus laesst sich mit minimalem Aufwand eine bessere Version bauen.</p>
</blockquote>
<p>Geh mal davon aus, daß immer neun Ziffern gleichzeitig behandelt werden und Du nicht einfach ein *out++=z hast, das Du abgreifen kannst.</p>
<p>Ich nehme an, daß fast alle Zweierpotenzen apokalyptisch sind und die erste &quot;666&quot; jeweils ganz weit vorne und hinten zu finden ist. Deswegen würde ich machen:<br />
for(len=10;…;len++) if(mulmod(pow(2,n),pow(10,len) contains &quot;666&quot;) return true;<br />
und davon ausgehen, daß im Bereich mit 4G Stellen überhaupt kein Test stattfinden muss mit len&gt;10M.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465144</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465144</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 22 Aug 2015 08:45:42 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 13:22:54 GMT]]></title><description><![CDATA[<p>Meiner ist schneller.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cassert&gt;
#include &lt;vector&gt;
#include &lt;chrono&gt;
using namespace std;

struct biggie {
  const uint64_t base = static_cast&lt;uint64_t&gt;(1000)*1000*1000*1000*1000*1000;
  const int base_digits = 18;
  vector&lt;uint64_t&gt; digits;

  biggie(int i) : digits(1, i) {}

  void times_two() {
    assert(!digits.empty());
    uint32_t carry = 0;
    for (auto&amp; d : digits) {
      auto val = 2*d + carry;
      d = val%base;
      carry = val/base;
    }
    if (carry)
      digits.push_back(carry);
  }
  bool has_devil() {
    int current_sixes = 0;
    for (auto d : digits) {
      for (int i=0; i&lt;base_digits; ++i) {
        if (d%10 != 6)
          current_sixes = 0;
        else if (++current_sixes == 3)
          return true;
        d /= 10;
      }
    }
    return false;
  }
};

int main()
{
  uint64_t limit = 10000, count = 0;
  auto start_time = chrono::high_resolution_clock::now();

  biggie number(1);  
  for (uint64_t i = 0; i &lt; limit; ++i, number.times_two())
    if (number.has_devil()) 
      ++count;
  auto end_time = chrono::high_resolution_clock::now();
  cout &lt;&lt; &quot;\nbelow n = &quot; &lt;&lt; limit &lt;&lt; &quot; exist &quot; &lt;&lt; count &lt;&lt; &quot; apocalyptic numbers 2^n&quot; &lt;&lt; endl;
  cout &lt;&lt; &quot;time: &quot; &lt;&lt; chrono::duration_cast&lt;chrono::milliseconds&gt;(end_time - start_time).count() &lt;&lt; &quot; ms&quot; &lt;&lt; endl;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2465153</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465153</guid><dc:creator><![CDATA[biggie]]></dc:creator><pubDate>Sat, 22 Aug 2015 13:22:54 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Mon, 24 Aug 2015 19:26:27 GMT]]></title><description><![CDATA[<blockquote>
<p>Hast du den Quellcode von get_str()?</p>
</blockquote>
<p>s.u.</p>
<p>zu beachten: <a href="http://www.gnu.org/licenses/lgpl-3.0.de.html" rel="nofollow">http://www.gnu.org/licenses/lgpl-3.0.de.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465156</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465156</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Mon, 24 Aug 2015 19:26:27 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 18:40:34 GMT]]></title><description><![CDATA[<p>Was sind jetzt nochmal apokalyptische potenzen? einfach eine zahl die irgendwo &quot;666&quot; enthält? Oder bestehen die nur aus 6en oder wie kann man sich das vorstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465166</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465166</guid><dc:creator><![CDATA[Verwirrter]]></dc:creator><pubDate>Sat, 22 Aug 2015 18:40:34 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 18:54:23 GMT]]></title><description><![CDATA[<p>Verwirrter schrieb:</p>
<blockquote>
<p>Was sind jetzt nochmal apokalyptische potenzen? einfach eine zahl die irgendwo &quot;666&quot; enthält? Oder bestehen die nur aus 6en oder wie kann man sich das vorstellen?</p>
</blockquote>
<p>Wie wäre es, den ersten Satz im ersten Beitrag zu lesen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465167</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465167</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sat, 22 Aug 2015 18:54:23 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 22:00:06 GMT]]></title><description><![CDATA[<p><a href="http://googology.wikia.com/wiki/Apocalyptic_number" rel="nofollow">http://googology.wikia.com/wiki/Apocalyptic_number</a><br />
<a href="http://www.numbersaplenty.com/set/apocalyptic_number/" rel="nofollow">http://www.numbersaplenty.com/set/apocalyptic_number/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465170</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465170</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sat, 22 Aug 2015 22:00:06 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 20:10:49 GMT]]></title><description><![CDATA[<p>Erhard Henkes schrieb:</p>
<blockquote>
<p><a href="http://mathworld.wolfram.com/ApocalypseNumber.html" rel="nofollow">http://mathworld.wolfram.com/ApocalypseNumber.html</a><br />
<a href="http://googology.wikia.com/wiki/Apocalyptic_number" rel="nofollow">http://googology.wikia.com/wiki/Apocalyptic_number</a><br />
<a href="http://www.numbersaplenty.com/set/apocalyptic_number/" rel="nofollow">http://www.numbersaplenty.com/set/apocalyptic_number/</a></p>
</blockquote>
<p>Dir ist schon klar, dass er erste Link eine andere Definition liefert, als die beiden anderen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465172</guid><dc:creator><![CDATA[Bengo]]></dc:creator><pubDate>Sat, 22 Aug 2015 20:10:49 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sat, 22 Aug 2015 21:59:52 GMT]]></title><description><![CDATA[<p>Oh danke! Habe ich echt falsch gelesen. Muss natürlich weg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465177</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sat, 22 Aug 2015 21:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Sun, 23 Aug 2015 07:57:37 GMT]]></title><description><![CDATA[<p>Erhard Henkes schrieb:</p>
<blockquote>
<blockquote>
<p>Hast du den Quellcode von get_str()?</p>
</blockquote>
<pre><code>std::string get_str(int base = 10) const
{
    __gmp_alloc_cstring temp(mpz_get_str(0, base, mp));
    return std::string(temp.str);
}

#define mpz_get_str __gmpz_get_str
__GMP_DECLSPEC char *mpz_get_str __GMP_PROTO ((char *, int, mpz_srcptr));
</code></pre>
</blockquote>
<p>Haha, sehr witzig...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465187</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465187</guid><dc:creator><![CDATA[TGGC]]></dc:creator><pubDate>Sun, 23 Aug 2015 07:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Mon, 24 Aug 2015 19:31:42 GMT]]></title><description><![CDATA[<p>na gut, hier ist der code aus get_str.c (MPIR 2.7.0):<br />
<a href="http://pastebin.com/N3VQuvye" rel="nofollow">http://pastebin.com/N3VQuvye</a></p>
<blockquote>
<p>Copyright 2008 William Hart, Gonzalo Tornaria<br />
This file is part of the MPIR Library.<br />
The MPIR Library is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU Lesser General Public License as published by<br />
the Free Software Foundation; either version 3 of the License, or (at your<br />
option) any later version.</p>
</blockquote>
<p><a href="http://www.gnu.org/licenses/lgpl-3.0.de.html" rel="nofollow">http://www.gnu.org/licenses/lgpl-3.0.de.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465276</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465276</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Mon, 24 Aug 2015 19:31:42 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Mon, 24 Aug 2015 05:32:26 GMT]]></title><description><![CDATA[<p>Ok, dann jetzt mpn_get_str...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465295</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465295</guid><dc:creator><![CDATA[TGGC]]></dc:creator><pubDate>Mon, 24 Aug 2015 05:32:26 GMT</pubDate></item><item><title><![CDATA[Reply to Apokalyptische Potenzen finden&#x2F;darstellen on Mon, 24 Aug 2015 19:30:17 GMT]]></title><description><![CDATA[<p><a href="http://pastebin.com/CvT2RfDA" rel="nofollow">http://pastebin.com/CvT2RfDA</a></p>
<blockquote>
<p>Copyright 2008 William Hart, Gonzalo Tornaria<br />
This file is part of the MPIR Library.<br />
The MPIR Library is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU Lesser General Public License as published by<br />
the Free Software Foundation; either version 3 of the License, or (at your<br />
option) any later version.</p>
</blockquote>
<p><a href="http://www.gnu.org/licenses/lgpl-3.0.de.html" rel="nofollow">http://www.gnu.org/licenses/lgpl-3.0.de.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2465431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2465431</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Mon, 24 Aug 2015 19:30:17 GMT</pubDate></item></channel></rss>