constants.html
来自「gcc手册」· HTML 代码 · 共 36 行
HTML
36 行
<html lang="en">
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.3">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="Constants">Constants</a>,
Next:<a rel="next" accesskey="n" href="Symbols.html#Symbols">Symbols</a>,
Up:<a rel="up" accesskey="u" href="Expressions.html#Expressions">Expressions</a>
<hr><br>
</div>
<h4 class="subsection">Constants</h4>
<p>All constants are integers.
<p>As in C, the linker considers an integer beginning with <code>0</code> to be
octal, and an integer beginning with <code>0x</code> or <code>0X</code> to be
hexadecimal. The linker considers other integers to be decimal.
<p>In addition, you can use the suffixes <code>K</code> and <code>M</code> to scale a
constant by
respectively. For example, the following all refer to the same quantity:
<pre class="smallexample"> _fourk_1 = 4K;
_fourk_2 = 4096;
_fourk_3 = 0x1000;
</pre>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?