core/com.nokia.carbide.cpp.compiler.doc.user/html/c_compiler/c_d_constant_suffix.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>The “D” Constant Suffix</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>The “D” Constant Suffix</h3>
<p>When the compiler finds a “D” immediately after a floating point constant value, it treats that value as data of type double.</p>
<p>When the pragma <span class="code">float_constants</span> is enabled, floating point constants should end with a “D” so that the compiler does not treat them as values of type float.</p>
<p>For related information, see “float_constants”.
</p>
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>