<?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[min() von 4 doubles]]></title><description><![CDATA[<p>Hi Leute!</p>
<p>Gibts in c++ irgendeinen schnellen Befehl, der das Minimum von 4 Doubles berechnet?</p>
<p>Danke,</p>
<p>Johannes</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/125936/min-von-4-doubles</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 15:58:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/125936.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Nov 2005 15:17:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to min() von 4 doubles on Thu, 10 Nov 2005 15:17:43 GMT]]></title><description><![CDATA[<p>Hi Leute!</p>
<p>Gibts in c++ irgendeinen schnellen Befehl, der das Minimum von 4 Doubles berechnet?</p>
<p>Danke,</p>
<p>Johannes</p>
]]></description><link>https://www.c-plusplus.net/forum/post/914050</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/914050</guid><dc:creator><![CDATA[keboo]]></dc:creator><pubDate>Thu, 10 Nov 2005 15:17:43 GMT</pubDate></item><item><title><![CDATA[Reply to min() von 4 doubles on Thu, 10 Nov 2005 15:23:09 GMT]]></title><description><![CDATA[<p>Also was sinnigeres als std::min(std::min(std::min(d1,d2),d3),d4) fällt mir nicht ein...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/914062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/914062</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Thu, 10 Nov 2005 15:23:09 GMT</pubDate></item><item><title><![CDATA[Reply to min() von 4 doubles on Thu, 10 Nov 2005 15:26:43 GMT]]></title><description><![CDATA[<p>keboo schrieb:</p>
<blockquote>
<p>Hi Leute!</p>
<p>Gibts in c++ irgendeinen schnellen Befehl, der das Minimum von 4 Doubles berechnet?</p>
<p>Danke,</p>
<p>Johannes</p>
</blockquote>
<p>Du meinst wahrscheinlich eine <em>Funktion</em>, die selbiges bewerkstelligt.<br />
Falls deine Werte linear im Speicher liegen, ist <a href="http://www.cppreference.com/cppalgorithm/min_element.html" rel="nofollow">std::min_element</a> wahrscheinlich was für dich.</p>
<p>Ansonsten sollte es nicht allzu schwer sein mit der Funktion <a href="http://www.cppreference.com/cppalgorithm/min.html" rel="nofollow">std::min</a>, die das Minimum von a und b zurückgibt, selbiges auf 4 Werte auszudehnen... siehe LordJaxom.</p>
<p>/edit: Zu spät...</p>
<p>Gruß Caipi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/914063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/914063</guid><dc:creator><![CDATA[Caipi]]></dc:creator><pubDate>Thu, 10 Nov 2005 15:26:43 GMT</pubDate></item></channel></rss>