<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Signed_int</id>
		<title>Signed int - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Signed_int"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;action=history"/>
		<updated>2026-04-21T16:40:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22699&amp;oldid=prev</id>
		<title>VolodyA! V Anarhist at 19:34, 8 June 2015</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22699&amp;oldid=prev"/>
				<updated>2015-06-08T19:34:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:34, 8 June 2015&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| conforms to&amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| conforms to&amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| released&amp;#160; &amp;#160; &amp;#160;  = 1983&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| released&amp;#160; &amp;#160; &amp;#160;  = 1983&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| image&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| image&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Whole numbers.png&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| caption&amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| caption&amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>VolodyA! V Anarhist</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22481&amp;oldid=prev</id>
		<title>VolodyA! V Anarhist at 07:24, 13 May 2015</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22481&amp;oldid=prev"/>
				<updated>2015-05-13T07:24:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 07:24, 13 May 2015&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''int''' can safely store values -2¹⁵ – 2¹⁵-1, if the value gets too large or too small, a roll over can take place. While the fact of a roll over is a guarantee at some point, a coder cannot assume that it will happen in a specific place, INT_MIN and INT_MAX constants from &amp;lt;climits&amp;gt; library can be used to determine that. Many implementations push int into a 32-bit range.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''int''' can safely store values -2¹⁵ – 2¹⁵-1, if the value gets too large or too small, a roll over can take place. While the fact of a roll over is a guarantee at some point, a coder cannot assume that it will happen in a specific place, INT_MIN and INT_MAX constants from &amp;lt;climits&amp;gt; library can be used to determine that. Many implementations push int into a 32-bit range.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Unlike the early versions of C (on which C++ is based) int is '''not''' a default type, in fact no default types exist at all.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Other C++ data types of the same size==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Other C++ data types of the same size==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[unsigned int]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[unsigned int]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[char16_t]] or [[char32_t]] (depending upon implementation)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[char16_t]] or [[char32_t]] (depending upon implementation)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[signed short int|short]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(it is less than '''&lt;/del&gt;or equal to&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''' signed &lt;/del&gt;int, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in many &lt;/del&gt;implementations &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;they are equal, but it &lt;/del&gt;is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;not a requirement)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[signed short int|short]] or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[signed long int|long]] both can be &lt;/ins&gt;equal to int, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;on most &lt;/ins&gt;implementations &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;at least one of them &lt;/ins&gt;is&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Other C++ data types storing signed integers==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Other C++ data types storing signed integers==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>VolodyA! V Anarhist</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22474&amp;oldid=prev</id>
		<title>VolodyA! V Anarhist: released</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22474&amp;oldid=prev"/>
				<updated>2015-05-13T07:04:10Z</updated>
		
		<summary type="html">&lt;p&gt;released&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 07:04, 13 May 2015&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| uniform type&amp;#160;  =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| uniform type&amp;#160;  =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| conforms to&amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| conforms to&amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| released&amp;#160; &amp;#160; &amp;#160;  =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| released&amp;#160; &amp;#160; &amp;#160;  = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1983&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| image&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| image&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| caption&amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| caption&amp;#160; &amp;#160; &amp;#160; &amp;#160; = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>VolodyA! V Anarhist</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22458&amp;oldid=prev</id>
		<title>VolodyA! V Anarhist: Created page with &quot;{{FormatInfo | name           = signed int | formattype     = electronic | subcat         = Data types | subcat2        = C++ data types | subcat3        =  | subcat4        =...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Signed_int&amp;diff=22458&amp;oldid=prev"/>
				<updated>2015-05-12T12:30:27Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo | name           = signed int | formattype     = electronic | subcat         = Data types | subcat2        = C++ data types | subcat3        =  | subcat4        =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
| name           = signed int&lt;br /&gt;
| formattype     = electronic&lt;br /&gt;
| subcat         = Data types&lt;br /&gt;
| subcat2        = C++ data types&lt;br /&gt;
| subcat3        = &lt;br /&gt;
| subcat4        = &lt;br /&gt;
| subcat5        = &lt;br /&gt;
| thiscat        = &lt;br /&gt;
| extensions     = &lt;br /&gt;
| mimetypes      = &lt;br /&gt;
| locfdd         = &lt;br /&gt;
| fourccs        =&lt;br /&gt;
| pronom         =&lt;br /&gt;
| type code      =&lt;br /&gt;
| uniform type   =&lt;br /&gt;
| conforms to    = &lt;br /&gt;
| released       =&lt;br /&gt;
| image          = &lt;br /&gt;
| caption        = &lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:signed int}}&lt;br /&gt;
&lt;br /&gt;
C++ '''signed int''' will take at least 16 bits of memory to hold and cannot be less than [[signed short int]] in any specific implementation; it can, however, differ from compiler to compiler. It usually gets stored as [[two's complement]] integer, but it is not a requirement of the standard. It is the standard way to represent an integer in C++, function &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; returns int, even though in practice [[unsigned char]] would have been more than sufficient. An integer literal gets interpreted as int, unless followed by extra characters to symbolise that it's something else.&lt;br /&gt;
&lt;br /&gt;
It can be shortened during declaration or conversion to '''signed''' or '''int''', int being the most common.&lt;br /&gt;
&lt;br /&gt;
'''int''' can safely store values -2¹⁵ – 2¹⁵-1, if the value gets too large or too small, a roll over can take place. While the fact of a roll over is a guarantee at some point, a coder cannot assume that it will happen in a specific place, INT_MIN and INT_MAX constants from &amp;lt;climits&amp;gt; library can be used to determine that. Many implementations push int into a 32-bit range.&lt;br /&gt;
&lt;br /&gt;
==Other C++ data types of the same size==&lt;br /&gt;
* [[unsigned int]]&lt;br /&gt;
* [[char16_t]] or [[char32_t]] (depending upon implementation)&lt;br /&gt;
* [[signed short int|short]] (it is less than '''or equal to''' signed int, in many implementations they are equal, but it is not a requirement)&lt;br /&gt;
&lt;br /&gt;
==Other C++ data types storing signed integers==&lt;br /&gt;
* [[signed char]] at least 8 bits&lt;br /&gt;
* [[signed short int|short]] not less than 16 bits, not smaller than signed char&lt;br /&gt;
* [[signed long|long]] not less than 32 bits, not smaller than int&lt;br /&gt;
* [[signed long long|long long]] not less than 64 bits, not smaller than long&lt;br /&gt;
&lt;br /&gt;
[[Category:Integer data types]]&lt;br /&gt;
[[Category:Enumerable data types]]&lt;/div&gt;</summary>
		<author><name>VolodyA! V Anarhist</name></author>	</entry>

	</feed>