<?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[Für was braucht man std::frexp]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich bin beim durchstöbern der std lib auf<br />
folgende Anweisung gestossen:</p>
<p>std::frexp</p>
<p>Weiss jemand von euch für was man das braucht ?</p>
<p>Gruß Ulli</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/328642/für-was-braucht-man-std-frexp</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 13:07:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/328642.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Oct 2014 07:24:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 07:24:49 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich bin beim durchstöbern der std lib auf<br />
folgende Anweisung gestossen:</p>
<p>std::frexp</p>
<p>Weiss jemand von euch für was man das braucht ?</p>
<p>Gruß Ulli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423078</guid><dc:creator><![CDATA[Ullil]]></dc:creator><pubDate>Tue, 21 Oct 2014 07:24:49 GMT</pubDate></item><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 07:27:07 GMT]]></title><description><![CDATA[<p><a href="http://en.cppreference.com/w/cpp/numeric/math/frexp" rel="nofollow">http://en.cppreference.com/w/cpp/numeric/math/frexp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423079</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Tue, 21 Oct 2014 07:27:07 GMT</pubDate></item><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 07:38:48 GMT]]></title><description><![CDATA[<p>Ich nehme an, wie Fließkommazahlen funktionieren weißt du? Also es ist nicht die Frage, <strong>was</strong> die Funktion macht?</p>
<p>Falls ja, ist die Antwort, wozu man das braucht so einfach wie unbefriedigend: Manchmal braucht man das eben einfach. Und dann ist das gut, so eine Funktion zu haben, denn sonst kommt man nicht portabel an diese Eigenschaften von Fließkommazahlen. Ich habe das genau einmal gebraucht, das war für eine Aufgabe hier im Forum, wo es eben um irgendwelche Spielereien mit Fließkommazahlen ging. Das alles waren künstliche Beispiele ohne Praxisbezug, es ging nur darum, mehr über Fließkommazahlen zu lernen. Aber es gab dabei eine Anwendung für frexp.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423080</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Tue, 21 Oct 2014 07:38:48 GMT</pubDate></item><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 07:51:00 GMT]]></title><description><![CDATA[<p>Hallo SeppJ und theta,</p>
<p>ja die Frage ist wirklich für welchen Anwendungsfall man das gebrauchen<br />
kann. Welches Problem kann man damit loesen. Was die Funktion macht<br />
ist mir klar. Mir geht's eigentlich darum ob es einen Tricky<br />
Lösungsansatz damit gibt der sich mir nicht erschliesst.</p>
<p>Gruß Ulli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423081</guid><dc:creator><![CDATA[Ullil]]></dc:creator><pubDate>Tue, 21 Oct 2014 07:51:00 GMT</pubDate></item><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 10:49:01 GMT]]></title><description><![CDATA[<p>Ich schätze man kann <code>frexp</code> schön verwenden wenn man Fliesskommazahlen effizient, und unabhängig vom Maschinenformat, in eine standardisierte binäre Darstellung bringen will.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423099</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423099</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Tue, 21 Oct 2014 10:49:01 GMT</pubDate></item><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 11:08:14 GMT]]></title><description><![CDATA[<p>Ich habe ein <a href="http://www.tntnet.org/howto/binaryrpc-howto.html" rel="nofollow">binäres Format</a> definiert und eine Serialisierer und Deserialisierer dafür geschrieben. Und genau dafür habe ich das gebraucht. In dem Format speichere ich die Basis und den Exponenten in separaten Feldern.</p>
<p>Das Format verwende ich zum einen um Objekte über RPC von einem Rechner auf den anderen übertragen zu können und zum anderen zum speichern.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423107</guid><dc:creator><![CDATA[tntnet]]></dc:creator><pubDate>Tue, 21 Oct 2014 11:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Für was braucht man std::frexp on Tue, 21 Oct 2014 12:51:51 GMT]]></title><description><![CDATA[<p>Vielen Dank für die Antworten. Ist dann schon mal ein Ansatzpunkt falls<br />
sich mir mal eine ähnliche Aufgabe stellt. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>Gruß Ulli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2423125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2423125</guid><dc:creator><![CDATA[Ullil]]></dc:creator><pubDate>Tue, 21 Oct 2014 12:51:51 GMT</pubDate></item></channel></rss>