<?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[Was kommt nach double ?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich kenne float = 4 Byte und double = 8 Byte.<br />
Was wäre noch genauer?<br />
Ich dachte an 128 Bit floats, aber anscheinend gibt es auch noch Vorstufen.<br />
Wie heißen diese, ich finde dazu sehr wenige Auflistungen. Meistens enden diese bei double.</p>
<p>Grüße<br />
thenoname</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/220107/was-kommt-nach-double</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 11:34:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/220107.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Aug 2008 07:02:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 07:02:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich kenne float = 4 Byte und double = 8 Byte.<br />
Was wäre noch genauer?<br />
Ich dachte an 128 Bit floats, aber anscheinend gibt es auch noch Vorstufen.<br />
Wie heißen diese, ich finde dazu sehr wenige Auflistungen. Meistens enden diese bei double.</p>
<p>Grüße<br />
thenoname</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563049</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563049</guid><dc:creator><![CDATA[thenoname]]></dc:creator><pubDate>Tue, 12 Aug 2008 07:02:47 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 07:18:03 GMT]]></title><description><![CDATA[<p>der GCC kennt IIRC auch noch &quot;long double&quot; aber im offiziellen C++ Standard kommt der glaub ich nicht vor: <a href="http://en.wikipedia.org/wiki/Long_double" rel="nofollow">http://en.wikipedia.org/wiki/Long_double</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563056</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563056</guid><dc:creator><![CDATA[Blue-Tiger]]></dc:creator><pubDate>Tue, 12 Aug 2008 07:18:03 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 08:56:18 GMT]]></title><description><![CDATA[<p><code>long double</code> gehört zum Standard: <a href="http://www.kuzbass.ru:8086/docs/isocpp/basic.html#basic.fundamental" rel="nofollow">Punkt -8-</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563125</guid><dc:creator><![CDATA[.filmor]]></dc:creator><pubDate>Tue, 12 Aug 2008 08:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 10:53:47 GMT]]></title><description><![CDATA[<p>Auf 32-Bit-Systemen ist <code>long double</code> aber meistens genauso breit wie <code>double</code> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563222</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563222</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Tue, 12 Aug 2008 10:53:47 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 11:00:26 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Auf 32-Bit-Systemen ist <code>long double</code> aber meistens genauso breit wie <code>double</code> .</p>
</blockquote>
<p>Nur weil der VC long double so groß lässt wie double heißt das nicht, dass das überall so ist. Im Gegenteil es bietet sich auf x86 Systemen sogar an ihn größer zu machen, da die FPU 80Bit breite Register hat und dementsprechend 80Bit floating points verarbeiten kann.<br />
Der GCC setzt long double auf die 80Bit, iirc.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563228</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563228</guid><dc:creator><![CDATA[Stimmt nicht]]></dc:creator><pubDate>Tue, 12 Aug 2008 11:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 11:17:33 GMT]]></title><description><![CDATA[<pre><code>% sizeof.sh 'long double'
sizeof (long double) == 128 Bit == 16 Byte
% sizeof.sh 'double'     
sizeof (double) == 64 Bit == 8 Byte
% uname -m
i386
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1563246</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563246</guid><dc:creator><![CDATA[.filmor]]></dc:creator><pubDate>Tue, 12 Aug 2008 11:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 11:18:55 GMT]]></title><description><![CDATA[<p>Naja, ich hab ja nicht behauptet, das sei immer so. Besser, man verlässt sich nicht darauf, dass <code>long double</code> immer breiter ist als <code>double</code> . Aber wenn mans genau wissen muss, kann man sowieso die Typen mit fester Breite nutzen (die Diskussion gabs übrigens kürzlich).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563249</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563249</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Tue, 12 Aug 2008 11:18:55 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 11:59:21 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Wers noch genauer will: Es gibt die GMPLIB <a href="http://gmplib.org/" rel="nofollow">http://gmplib.org/</a>.</p>
<p>Das ist eine Library für große Zahlen. Die Größe der Zahlen ist nur durch den zur verfügung stehenden Stack begrenz.</p>
<p>mfg bauerb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563284</guid><dc:creator><![CDATA[bauerb]]></dc:creator><pubDate>Tue, 12 Aug 2008 11:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 13:15:06 GMT]]></title><description><![CDATA[<p>Stimmt nicht schrieb:</p>
<blockquote>
<p>Der GCC setzt long double auf die 80Bit, iirc.</p>
</blockquote>
<p>Nein, das ist Plattform abhängig. Auf vielen nicht x86 ist long double das IEEE Quad Format = 128Bit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563340</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563340</guid><dc:creator><![CDATA[*john 0]]></dc:creator><pubDate>Tue, 12 Aug 2008 13:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Tue, 12 Aug 2008 13:19:37 GMT]]></title><description><![CDATA[<p>thenoname schrieb:</p>
<blockquote>
<p>Was wäre noch genauer?<br />
Ich dachte an 128 Bit floats, aber anscheinend gibt es auch noch Vorstufen.</p>
</blockquote>
<p>Es gibt nach IEEE 32, 64 und 128Bit Formate. Auf einigen Plattformen gibt es noch andere Formate (x86 80Bit oder 68k 80Bit), diese verhalten sich beim Rechnen aber anders, so daß man sie besser nicht verwendet, weil die Ergebnisse dann nicht mehr ohne weiteres vergleichbar sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563350</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563350</guid><dc:creator><![CDATA[*john 0]]></dc:creator><pubDate>Tue, 12 Aug 2008 13:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Wed, 13 Aug 2008 07:20:58 GMT]]></title><description><![CDATA[<p>Die interne Genauigkeiten von 'double' und 'long double' sind und bleiben vor allem vom Compiler abhängig. 'long double' kann also mal 32, 48 oder 64 bit aufweisen. Gesichert sollte 32 bit sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563756</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563756</guid><dc:creator><![CDATA[berniebutt]]></dc:creator><pubDate>Wed, 13 Aug 2008 07:20:58 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Wed, 13 Aug 2008 07:48:50 GMT]]></title><description><![CDATA[<p>Ich habe einen eigenen Datentyp programmiert, bei der die Genauigkeit bei 2000 Nachkomastellen liegt. Besucht doch mal meine Seite <a href="http://www.srbib.de" rel="nofollow">http://www.srbib.de</a> . Ich habe es ursprünglich für Linux programmiert. Aber wenn Ihr wollt, könnte ich meine Webseite ein bisschen umgestallten, damit man sich auch den Quelltext anschauen kann. Auf meine Seite findet Ihr auch viele Screenshots zu meiner Bibliothek.</p>
<p>Gruß,<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563769</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563769</guid><dc:creator><![CDATA[stefan2008]]></dc:creator><pubDate>Wed, 13 Aug 2008 07:48:50 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Wed, 13 Aug 2008 14:36:14 GMT]]></title><description><![CDATA[<p><strong>@ stefan2008:</strong><br />
Nach deiner Homepage rechnest du mit den Zahlen als Zeichenkette. Ich denke nicht unbedingt, dass diese Lösung optimal, geschweige denn schnell ist <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="😉"
    /></p>
<p>Trotzdem nett, deine Bibliothek <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564136</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Wed, 13 Aug 2008 14:36:14 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Thu, 14 Aug 2008 06:42:14 GMT]]></title><description><![CDATA[<p>@ Stefan2008<br />
Na ja, ganz nett Deine Idee. Byte-weises Rechnen bleibt aber angesagt, wenn man an dieser Stelle etwas verbessern möchte. Sage uns mal, wer für floatingpoint mehr als 8 (oder vielleicht 16) Bytes benötigt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564445</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564445</guid><dc:creator><![CDATA[berniebutt]]></dc:creator><pubDate>Thu, 14 Aug 2008 06:42:14 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Thu, 14 Aug 2008 11:59:50 GMT]]></title><description><![CDATA[<p>Gute Frage. Ich glaube man könnte diese Bibliothek verwenden, um die Genauigkeit von Maßeinheiten, die unterhalb von Picometer ligen, genauer darzustellen oder den Abstand von zwei Planeten in Metern genau zu ermitteln. Natürlich ist es mit den Vor- und Nachkommastellen übertrieben und kein Mensch achtet genau auf Nachkommastellen. Aber ich will einfach demonstrieren, dass mein Datentyp, im Gegensatz zu den Standarddatentypen einfach sicherer arbeitet, da es einige Regeln beachtet.<br />
Ich habe aber noch ein paar Probleme. Zum Beispiel weis ich nicht, wie der Algorithmus für die n-te-Wurzel definiert ist. Oder wie ich es den Computer beibringen kann, das manche Rechenoperatoren einen höheren Rang haben als Andere.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564665</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564665</guid><dc:creator><![CDATA[stefan2008]]></dc:creator><pubDate>Thu, 14 Aug 2008 11:59:50 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Thu, 14 Aug 2008 12:11:33 GMT]]></title><description><![CDATA[<p>Mir ist bei den Standarddatentypen <strong>float</strong> und <strong>double</strong> etwas aufgefallen. Wenn man mit den Standarddatentypen <strong>float</strong> von -3 auf 3 hochzählt, erhält man bei Doppeltkernprozessoren in der Mitte keine Null; nur bei einfachen Prozessoren. Verwändet man aber <strong>double</strong>, so erhält man bei Doppeltkernprozessoren in der Mitte eine Null. Sehr interessant. Dieses Experiment habe ich mal zu meiner Praktikumszeit auf zwei verschiedene Rechner ausprobiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564677</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564677</guid><dc:creator><![CDATA[stefan2008]]></dc:creator><pubDate>Thu, 14 Aug 2008 12:11:33 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Thu, 14 Aug 2008 12:54:17 GMT]]></title><description><![CDATA[<p>stefan2008 schrieb:</p>
<blockquote>
<p>Mir ist bei den Standarddatentypen <strong>float</strong> und <strong>double</strong> etwas aufgefallen. Wenn man mit den Standarddatentypen <strong>float</strong> von -3 auf 3 hochzählt, erhält man bei Doppeltkernprozessoren in der Mitte keine Null; nur bei einfachen Prozessoren. Verwändet man aber <strong>double</strong>, so erhält man bei Doppeltkernprozessoren in der Mitte eine Null. Sehr interessant. Dieses Experiment habe ich mal zu meiner Praktikumszeit auf zwei verschiedene Rechner ausprobiert.</p>
</blockquote>
<p>Ich verstehe immer nur Bahnhof.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564719</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564719</guid><dc:creator><![CDATA[camper]]></dc:creator><pubDate>Thu, 14 Aug 2008 12:54:17 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Thu, 14 Aug 2008 13:15:38 GMT]]></title><description><![CDATA[<p>Wie ging das Zitat nochmal genau? Irgendwas vonwegen wenn man schätzen will nimmt man floating-point, wenn man rechnen will Integers.<br />
War das von Knuth oder von wem?</p>
<p>Soviel nur zum Thema Null <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>p.S.: falls der Doppelkern ein Core Duo (ohne 2) war... der Core Duo hat AFAIK einige bekannte Bugs, würde mich nicht wundern wenn da auch die FPU betroffen ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564738</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564738</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 14 Aug 2008 13:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Thu, 14 Aug 2008 16:15:26 GMT]]></title><description><![CDATA[<p><strong><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/6642">@camper</a></strong><br />
Ich meinte folgendes:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main(void)
{
	for(float c = -3; c &lt; 4; c++)
	{
		cout &lt;&lt; c &lt;&lt; '\n';
	}
	return 0;
}
</code></pre>
<p>Ausgabe:</p>
<pre><code>-3
-2
-1
-0.001 &lt;- != 0
1
2
3
</code></pre>
<p><strong><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/13960">@hustbaer</a></strong><br />
Du hast vielleicht recht. Der PC mit ich in der Firma gearbeitet habe, hat ein Core-Duo-Prozessor gehabt. Bei meinem Laptop ist, wie erwartet, eine 0 heraus gekommen.<br />
Ich habe in mein Buch das Zitat auch einmal gelesen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1564848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1564848</guid><dc:creator><![CDATA[stefan2008]]></dc:creator><pubDate>Thu, 14 Aug 2008 16:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to Was kommt nach double ? on Fri, 15 Aug 2008 10:01:07 GMT]]></title><description><![CDATA[<p>also ich habe einen Intel(R) Core(TM)2 Duo CPU und bei mir wird es stets richtig ausgegeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565290</guid><dc:creator><![CDATA[shorie77]]></dc:creator><pubDate>Fri, 15 Aug 2008 10:01:07 GMT</pubDate></item></channel></rss>