<?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[Ausgabe grosser Datentypen]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich schätze mal, dass der Datentyp &quot;long double&quot; bis mehr als 5<br />
Stellen nach dem Komma einer Reellen Zahl geht ..</p>
<p>Wenn a,b und c vom typ long double sind, und a = 10, b =3<br />
und c = a / b</p>
<p>wieso wird dann nur &quot;c = 3.33333&quot; ausgegeben ??</p>
<p>Wieviel Stellen hinter dem Komma einer Dezimalzahl geht denn &quot;long double&quot;<br />
sowie &quot;double&quot; eigentlich ?</p>
<p>VIELEN DANK im Voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119753/ausgabe-grosser-datentypen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 02:27:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119753.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Sep 2005 09:59:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 09:59:38 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich schätze mal, dass der Datentyp &quot;long double&quot; bis mehr als 5<br />
Stellen nach dem Komma einer Reellen Zahl geht ..</p>
<p>Wenn a,b und c vom typ long double sind, und a = 10, b =3<br />
und c = a / b</p>
<p>wieso wird dann nur &quot;c = 3.33333&quot; ausgegeben ??</p>
<p>Wieviel Stellen hinter dem Komma einer Dezimalzahl geht denn &quot;long double&quot;<br />
sowie &quot;double&quot; eigentlich ?</p>
<p>VIELEN DANK im Voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/865259</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865259</guid><dc:creator><![CDATA[Consideration]]></dc:creator><pubDate>Mon, 05 Sep 2005 09:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 10:08:49 GMT]]></title><description><![CDATA[<p>Consideration schrieb:</p>
<blockquote>
<p>wieso wird dann nur &quot;c = 3.33333&quot; ausgegeben ??</p>
</blockquote>
<p>Weil die Standard-Präzision der iostreams bei 6 liegt. Schau dir mal die Manipulatoren std::setprecision und std::fixed an.</p>
<blockquote>
<p>Wieviel Stellen hinter dem Komma einer Dezimalzahl geht denn &quot;long double&quot;<br />
sowie &quot;double&quot; eigentlich ?</p>
</blockquote>
<pre><code class="language-cpp">std::numeric_limits&lt;double&gt;::digits10
std::numeric_limits&lt;long double&gt;::digits10
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/865268</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865268</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Mon, 05 Sep 2005 10:08:49 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 10:12:34 GMT]]></title><description><![CDATA[<p>GROSSEN DANK Für die Erleuchtung !</p>
<p>Was kann man tun, damit die Ausgabe den ganzen Wert ausgibt, in<br />
diesem Fall &quot;3.3333333333&quot; ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/865269</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865269</guid><dc:creator><![CDATA[Consideration]]></dc:creator><pubDate>Mon, 05 Sep 2005 10:12:34 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 10:28:59 GMT]]></title><description><![CDATA[<p>Nicht nur die precision ansehen, sondern auf eine höhere Stellenanzahl festlegen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/865278</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865278</guid><dc:creator><![CDATA[Vorden]]></dc:creator><pubDate>Mon, 05 Sep 2005 10:28:59 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 10:53:48 GMT]]></title><description><![CDATA[<p>Wie kann ich mir denn die precision ansehen ?</p>
<p>Nutze als Betriebssystem Linux 9.3 , als Editor eclipse 3.1<br />
mit dem c++ plugin cdt 3.0.</p>
<p>Woe befinden sich normalerweise die c++ Bibliotheken, in diesem Fall<br />
die Klasse, in der precision festgelegt ist ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/865294</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865294</guid><dc:creator><![CDATA[Consideration]]></dc:creator><pubDate>Mon, 05 Sep 2005 10:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 10:57:08 GMT]]></title><description><![CDATA[<p>normalerweise einfach über Flags von der ios</p>
]]></description><link>https://www.c-plusplus.net/forum/post/865298</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865298</guid><dc:creator><![CDATA[Vorden]]></dc:creator><pubDate>Mon, 05 Sep 2005 10:57:08 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe grosser Datentypen on Mon, 05 Sep 2005 10:59:27 GMT]]></title><description><![CDATA[<p>Consideration schrieb:</p>
<blockquote>
<p>Wie kann ich mir denn die precision ansehen ?</p>
<p>Nutze als Betriebssystem Linux 9.3 , als Editor eclipse 3.1<br />
mit dem c++ plugin cdt 3.0.</p>
<p>Woe befinden sich normalerweise die c++ Bibliotheken, in diesem Fall<br />
die Klasse, in der precision festgelegt ist ?</p>
</blockquote>
<p>hat hume schon beschrieben.<br />
beispiele:<br />
<a href="http://cplus.kompf.de/artikel/stream2.html" rel="nofollow">http://cplus.kompf.de/artikel/stream2.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/865301</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/865301</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Mon, 05 Sep 2005 10:59:27 GMT</pubDate></item></channel></rss>