<?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[SystemC + Wertebereiche]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich suche eine Quelle in der angegeben ist, wie groß der Wertebereich von sc_int und sc_fix ist. Könnt ihr mir hier weiterhelfen?</p>
<p>Viele Grüße<br />
MrMilk</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/247893/systemc-wertebereiche</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 08:46:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/247893.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Aug 2009 09:54:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 09:54:12 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich suche eine Quelle in der angegeben ist, wie groß der Wertebereich von sc_int und sc_fix ist. Könnt ihr mir hier weiterhelfen?</p>
<p>Viele Grüße<br />
MrMilk</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1762165</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762165</guid><dc:creator><![CDATA[MrMilk]]></dc:creator><pubDate>Mon, 17 Aug 2009 09:54:12 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 10:46:07 GMT]]></title><description><![CDATA[<p>1 bis 64 bit: <a href="http://www-ti.informatik.uni-tuebingen.de/~ruf/SBS0203-Folien/4-SystemC.pdf" rel="nofollow">http://www-ti.informatik.uni-tuebingen.de/~ruf/SBS0203-Folien/4-SystemC.pdf</a><br />
aber nimm besser VHDL.<br />
<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/1762205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762205</guid><dc:creator><![CDATA[;fricky]]></dc:creator><pubDate>Mon, 17 Aug 2009 10:46:07 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 10:56:21 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>vielen Dank für die Antwort. Durch meine Aufgabenstellung ist mir SystemC vorgeschrieben, daran kann ich nichts ändern.</p>
<p>Leider hilft mir die Antwort mit dem 1 bis 64 Bit nicht weiter. Interessant ist folgende Frage: Wie groß ist der Anteil an positiven Zahlen.</p>
<p>Am besten ein Bespiel mit 2 Bit.</p>
<p>Erhält man bei sigend int:</p>
<p>-1 0 1 2<br />
oder<br />
-2 -1 0 1</p>
<p>Ich möchte genau berechnen können, ob nun für -2 2 oder 3 Bits notwendig sind <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>Vermutlich steckt irgend ein Trick dahinter, dass ich dieses Berechnen kann, habe aber noch keinen gefunden.</p>
<p>Viele Grüße<br />
MM</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1762209</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762209</guid><dc:creator><![CDATA[MrMilk]]></dc:creator><pubDate>Mon, 17 Aug 2009 10:56:21 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 11:05:14 GMT]]></title><description><![CDATA[<p>MrMilk schrieb:</p>
<blockquote>
<p>Am besten ein Bespiel mit 2 Bit.<br />
Erhält man bei sigend int:<br />
-1 0 1 2<br />
oder<br />
-2 -1 0 1</p>
</blockquote>
<p>letzteres stimmt. von den negativen zahlen gibts immer eine mehr<br />
<a href="http://en.wikipedia.org/wiki/Two%27s_complement" rel="nofollow">http://en.wikipedia.org/wiki/Two's_complement</a><br />
<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/1762214</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762214</guid><dc:creator><![CDATA[;fricky]]></dc:creator><pubDate>Mon, 17 Aug 2009 11:05:14 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 11:39:06 GMT]]></title><description><![CDATA[<p>Ist 2er Komplement = Binärdarstellung?</p>
<p>Irgendwie kommst mir da noch etwas komisch vor:</p>
<blockquote>
<p>Das Zweierkomplement (auch 2-Komplement, Zweikomplement, B(inär)-Komplement, Basiskomplement, two's complement) ist eine arithmetische Operation auf Dualzahlen. Dabei werden zunächst alle Ziffern bzw. Bits negiert, das heißt aus 0 wird 1 und umgekehrt. Anschließend wird 1 hinzuaddiert</p>
</blockquote>
<p>Hilft mir dieses weiter? Bzw gilt die Regel es gibt immer eine negative Zahl mehr dann auch für &quot;normale&quot; Binärzahlen?</p>
<p>Viele Grüße<br />
MM</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1762246</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762246</guid><dc:creator><![CDATA[MrMilk]]></dc:creator><pubDate>Mon, 17 Aug 2009 11:39:06 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 11:53:39 GMT]]></title><description><![CDATA[<p>MrMilk schrieb:</p>
<blockquote>
<blockquote>
<p>Das Zweierkomplement (auch 2-Komplement, Zweikomplement, B(inär)-Komplement, Basiskomplement, two's complement) ist eine arithmetische Operation auf Dualzahlen. Dabei werden zunächst alle Ziffern bzw. Bits negiert, das heißt aus 0 wird 1 und umgekehrt. Anschließend wird 1 hinzuaddiert</p>
</blockquote>
<p>Hilft mir dieses weiter?</p>
</blockquote>
<p>ja, das ist die anleitung, wie man sich aus 'ner positiven zahl eine negative machen kann:</p>
<pre><code>00010001   // 17
11101110   // alle umdrehen
11101111   // + 1 =&gt; -17
</code></pre>
<p>MrMilk schrieb:</p>
<blockquote>
<p>Bzw gilt die Regel es gibt immer eine negative Zahl mehr dann auch für &quot;normale&quot; Binärzahlen?</p>
</blockquote>
<p>ja, die anzahl der positiven zahlen einschliesslich 0 ist genau so gross, wie die anzahl der negativen zahlen. und weil die 0 eben keine positive zahl ist, gibts eine negative zahl mehr.<br />
<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/1762258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762258</guid><dc:creator><![CDATA[;fricky]]></dc:creator><pubDate>Mon, 17 Aug 2009 11:53:39 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 12:06:00 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-1652.html" rel="nofollow">phlox81</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-51.html" rel="nofollow">Andere GUIs - Qt, GTK+, wxWidgets</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-10.html" rel="nofollow">ANSI C</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1762270</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762270</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 17 Aug 2009 12:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 12:08:47 GMT]]></title><description><![CDATA[<p>Ich glaube in TRUDP wäre das besser aufgehoben <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><a href="http://de.wikipedia.org/wiki/SystemC" rel="nofollow">http://de.wikipedia.org/wiki/SystemC</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1762272</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762272</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 17 Aug 2009 12:08:47 GMT</pubDate></item><item><title><![CDATA[Reply to SystemC + Wertebereiche on Mon, 17 Aug 2009 14:47:27 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-2713.html" rel="nofollow">Nobuo T</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-10.html" rel="nofollow">ANSI C</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-47.html" rel="nofollow">Themen rund um den PC</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1762404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1762404</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 17 Aug 2009 14:47:27 GMT</pubDate></item></channel></rss>