<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2A02%3A3100%3AB3AA%3AB300%3A8DDB%3A3FDA%3AA56B%3A264</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2A02%3A3100%3AB3AA%3AB300%3A8DDB%3A3FDA%3AA56B%3A264"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/2A02:3100:B3AA:B300:8DDB:3FDA:A56B:264"/>
		<updated>2026-04-03T17:33:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=3228:_Day_Counter&amp;diff=409549</id>
		<title>3228: Day Counter</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=3228:_Day_Counter&amp;diff=409549"/>
				<updated>2026-04-03T13:58:57Z</updated>
		
		<summary type="html">&lt;p&gt;2A02:3100:B3AA:B300:8DDB:3FDA:A56B:264: 2^-31 isn't even an integer&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 3228&lt;br /&gt;
| date      = April 3, 2026&lt;br /&gt;
| title     = Day Counter&lt;br /&gt;
| image     = day_counter_2x.png&lt;br /&gt;
| imagesize = 319x287px&lt;br /&gt;
| noexpand  = true&lt;br /&gt;
| titletext = It has been −2,147,483,648 days since our last integer overflow.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
{{incomplete|This page was created -.000000000000000032 days ago. Don't remove this notice too soon.}}&lt;br /&gt;
{{w|Floating-point arithmetic|Floating point numbers}} are numbers stored in a computer as {{w|Scientific Notation}}, rounded to fit. They are often used for decimal numbers, where storing the full number with all decimal places would result in using much space. However, the rounding required to use these numbers can result in rounding errors, which can cause a fair amount of trouble, especially when comparing them or printing them to a screen in a human readable format.&lt;br /&gt;
&lt;br /&gt;
This is shown in the comic, where a counter is shown of days since there was last a floating point error. However, the amount of time has been changed from a floating point &amp;amp; back, creating the ridiculous illusion that -0.00000000000000044 days have passed, which implies a 'negative' number of days, which is impossible{{cn}}. It also, even if it was a positive number, would mean less than a microsecond had passed since the last error, which would be an unfeasably short amount of time. Of course, the joke is that in making the sign showing the amount of time since a floating point error was last made, they are creating a floating point error, meaning the sign is invalid. Also, if they tried to reset the sign, they might make the same error again, repeating the cycle over &amp;amp; over, which would not be ideal.&lt;br /&gt;
&lt;br /&gt;
Coincidentally enough, [[Cueball]] is also floating - off his seat in this case. The seat itself looks the same as the chair in [[2144]], possibly meaning making people levitate is one of it's numerous settings.&lt;br /&gt;
&lt;br /&gt;
Floating point errors are particularly common in programming, specially in languages that implicitly convert decimal numbers to binary floating point, so an approximation is already made at conversion leading to unexpected results. The title text cites another common programming problem, integer overflow. When a value  gets bigger than the biggest integer that can be represented in a certain format, it &amp;quot;warps around&amp;quot; to the smallest value. In case of 32-bit signed integers this value is -2^31, that is −2,147,483,648.&lt;br /&gt;
&lt;br /&gt;
The dropdown menu beneath the comic allows the user to select different &amp;quot;modes&amp;quot;.  These include the typical &amp;quot;Light mode&amp;quot; and &amp;quot;Dark mode&amp;quot;, but also includes some atypical modes such as &amp;quot;Dorian Greyscale Mode&amp;quot; which gradually turns the page darker shades of grey to simulate aging as in the 1890 Oscar Wilde story &amp;quot;The Picture of Dorian Gray&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
[White Hat, Ponytail, Cueball, and Megan are all below a large sign. White Hat and Ponytail appear to be discussing something, while Cueball is sitting at his desk working on a laptop and Megan is walking away. The sign has text on it, as well as a large display presumably meant to show a number.]&lt;br /&gt;
&lt;br /&gt;
:[Sign:] It has been&lt;br /&gt;
:[Display:] -0.00000000000000044&lt;br /&gt;
:[Sign:] days since our last floating point error&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&amp;lt;noinclude&amp;gt;[[Category:Interactive comics]][[Category:Dynamic comics]]&lt;/div&gt;</summary>
		<author><name>2A02:3100:B3AA:B300:8DDB:3FDA:A56B:264</name></author>	</entry>

	</feed>