<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>SPCA on Sven Glinz</title>
    <link>https://svenglinz.ch/teaching/spca/</link>
    <description>Recent content in SPCA on Sven Glinz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://svenglinz.ch/teaching/spca/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Week 1</title>
      <link>https://svenglinz.ch/teaching/spca/week_1/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://svenglinz.ch/teaching/spca/week_1/</guid>
      <description>&lt;h2 id=&#34;undefined-behavior&#34;&gt;Undefined Behavior&lt;/h2&gt;
&lt;p&gt;As discussed in the lectures, some things in C are undefined, and depending on which compiler and which optimization level you use, some unexpected things could happen which you should be aware of!&lt;/p&gt;
&lt;p&gt;Have a look &lt;a href=&#34;https://en.cppreference.com/c/language/behavior&#34;&gt;here&lt;/a&gt; for some interesting examples of undefined behavior which may produce counterintuitive results.&lt;/p&gt;
&lt;h3 id=&#34;signed-integer-overflow&#34;&gt;Signed Integer Overflow&lt;/h3&gt;
&lt;p&gt;How do you check if the sum of two integers overflows, given that your machine architecture implements wrap-around semantics?&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
