<?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=Double_%28C%2B%2B%29</id>
		<title>Double (C++) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Double_%28C%2B%2B%29"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Double_(C%2B%2B)&amp;action=history"/>
		<updated>2026-04-23T03:11:19Z</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=Double_(C%2B%2B)&amp;diff=22479&amp;oldid=prev</id>
		<title>VolodyA! V Anarhist: released</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Double_(C%2B%2B)&amp;diff=22479&amp;oldid=prev"/>
				<updated>2015-05-13T07:04:17Z</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=Double_(C%2B%2B)&amp;diff=22467&amp;oldid=prev</id>
		<title>VolodyA! V Anarhist: Created page with &quot;{{FormatInfo | name           = double (C++) | 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=Double_(C%2B%2B)&amp;diff=22467&amp;oldid=prev"/>
				<updated>2015-05-13T06:56:57Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo | name           = double (C++) | 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           = double (C++)&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:double (C++)}}&lt;br /&gt;
&lt;br /&gt;
C++ '''double''' is the default floating point data type. Unlike many other languages C++ doesn't use [[float (C++)|float]] as the default floating point. The name is somewhat misleading, because double is not guaranteed by standards to provide twice the precision of float nor to take twice as many bytes of memory for storage. The standard defines double as having not less precision than float, which is a common theme in C++ standards.&lt;br /&gt;
&lt;br /&gt;
It is not possible to enumerate '''double''' values, and thus it cannot be used in constructs like &amp;lt;code&amp;gt;switch&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Literals==&lt;br /&gt;
Literals with a floating point or exponent are '''double'''. For example: &amp;lt;code&amp;gt;1.5&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.3&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;5e-7&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Double can store positive infinity, negative infinity, and NaN (not a number). NaN is generated when the result is mathematically ambiguous or impossible to determine, for example 0÷0.&lt;br /&gt;
&lt;br /&gt;
==Characteristics==&lt;br /&gt;
The &amp;lt;cfloat&amp;gt; library consists of the following constants describing the behaviour of '''float'''&lt;br /&gt;
* FLT_RADIX &amp;amp;mdash; base of the floating point numbers.&lt;br /&gt;
* DBL_MANT_DIG &amp;amp;mdash; number of mantissa digits.&lt;br /&gt;
* DBL_DIG &amp;amp;mdash; number of significant digits that can be stored.&lt;br /&gt;
* DBL_MIN_EXP &amp;amp;mdash; minimum negative exponent.&lt;br /&gt;
* DBL_MAX_EXP &amp;amp;mdash; maximum positive exponent.&lt;br /&gt;
* DBL_MIN_10_EXP &amp;amp;mdash; minimum base-10 negative exponent that can be transformed into a valid double&lt;br /&gt;
* DBL_MAX_10_EXP &amp;amp;mdash; maximum base-10 positive exponent that can be transformed into a valid double&lt;br /&gt;
* DBL_EPSILON &amp;amp;mdash; the difference from 1.0 to the smallest possible value that is greater than 1.0&lt;br /&gt;
* DBL_MIN &amp;amp;mdash; the smallest possible value that is greater than 0.0&lt;br /&gt;
&lt;br /&gt;
==Other C++ data types storing floating point numbers==&lt;br /&gt;
* [[float (C++)|float]] least precise floating point data type&lt;br /&gt;
* [[long double]] not less precise than double&lt;br /&gt;
&lt;br /&gt;
[[Category:Floating point data types]]&lt;/div&gt;</summary>
		<author><name>VolodyA! V Anarhist</name></author>	</entry>

	</feed>