~ubuntu-branches/ubuntu/trusty/glib2.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Numerical-Definitions.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-02-22 15:00:46 UTC
  • mfrom: (3.4.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20100222150046-qae9q3ivbus5o0gd
Tags: 2.23.4-1ubuntu1
* Resync on Debian
* debian/patches/01_gettext-desktopfiles.patch:
  - updated to use gettext for X-GNOME-Fullname too
* debian/patches/71_gio_launch_handler.patch:
  - new gio default launch handle feature required for wncksync
* debian/libglib2.0-0.symbols:
  - updated the symbols list for the gio launcher handler

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
9
9
<link rel="prev" href="glib-Byte-Order-Macros.html" title="Byte Order Macros">
10
10
<link rel="next" href="glib-Miscellaneous-Macros.html" title="Miscellaneous Macros">
11
 
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="glib.html" title="GLib Overview">
14
14
<link rel="chapter" href="glib-fundamentals.html" title="GLib Fundamentals">
29
29
<link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
30
30
<link rel="index" href="api-index-2-20.html" title="Index of new symbols in 2.20">
31
31
<link rel="index" href="api-index-2-22.html" title="Index of new symbols in 2.22">
 
32
<link rel="index" href="api-index-2-24.html" title="Index of new symbols in 2.24">
32
33
</head>
33
34
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
34
35
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
94
95
<a name="glib-Numerical-Definitions.details"></a><h2>Details</h2>
95
96
<div class="refsect2" title="G_IEEE754_FLOAT_BIAS">
96
97
<a name="G-IEEE754-FLOAT-BIAS:CAPS"></a><h3>G_IEEE754_FLOAT_BIAS</h3>
97
 
<pre class="programlisting">#define G_IEEE754_FLOAT_BIAS (127)
98
 
</pre>
 
98
<pre class="programlisting">#define             G_IEEE754_FLOAT_BIAS</pre>
99
99
<p>
100
100
See <a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
101
101
</p>
103
103
<hr>
104
104
<div class="refsect2" title="G_IEEE754_DOUBLE_BIAS">
105
105
<a name="G-IEEE754-DOUBLE-BIAS:CAPS"></a><h3>G_IEEE754_DOUBLE_BIAS</h3>
106
 
<pre class="programlisting">#define G_IEEE754_DOUBLE_BIAS (1023)
107
 
</pre>
 
106
<pre class="programlisting">#define             G_IEEE754_DOUBLE_BIAS</pre>
108
107
<p>
109
108
See <a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
110
109
</p>
157
156
<hr>
158
157
<div class="refsect2" title="G_E">
159
158
<a name="G-E:CAPS"></a><h3>G_E</h3>
160
 
<pre class="programlisting">#define G_E     2.7182818284590452353602874713526624977572470937000
161
 
</pre>
 
159
<pre class="programlisting">#define             G_E</pre>
162
160
<p>
163
161
The base of natural logarithms.
164
162
</p>
166
164
<hr>
167
165
<div class="refsect2" title="G_LN2">
168
166
<a name="G-LN2:CAPS"></a><h3>G_LN2</h3>
169
 
<pre class="programlisting">#define G_LN2   0.69314718055994530941723212145817656807550013436026
170
 
</pre>
 
167
<pre class="programlisting">#define             G_LN2</pre>
171
168
<p>
172
169
The natural logarithm of 2.
173
170
</p>
175
172
<hr>
176
173
<div class="refsect2" title="G_LN10">
177
174
<a name="G-LN10:CAPS"></a><h3>G_LN10</h3>
178
 
<pre class="programlisting">#define G_LN10  2.3025850929940456840179914546843642076011014886288
179
 
</pre>
 
175
<pre class="programlisting">#define             G_LN10</pre>
180
176
<p>
181
177
The natural logarithm of 10.
182
178
</p>
184
180
<hr>
185
181
<div class="refsect2" title="G_PI">
186
182
<a name="G-PI:CAPS"></a><h3>G_PI</h3>
187
 
<pre class="programlisting">#define G_PI    3.1415926535897932384626433832795028841971693993751
188
 
</pre>
 
183
<pre class="programlisting">#define             G_PI</pre>
189
184
<p>
190
185
The value of pi (ratio of circle's circumference to its diameter).
191
186
</p>
193
188
<hr>
194
189
<div class="refsect2" title="G_PI_2">
195
190
<a name="G-PI-2:CAPS"></a><h3>G_PI_2</h3>
196
 
<pre class="programlisting">#define G_PI_2  1.5707963267948966192313216916397514420985846996876
197
 
</pre>
 
191
<pre class="programlisting">#define             G_PI_2</pre>
198
192
<p>
199
193
Pi divided by 2.
200
194
</p>
202
196
<hr>
203
197
<div class="refsect2" title="G_PI_4">
204
198
<a name="G-PI-4:CAPS"></a><h3>G_PI_4</h3>
205
 
<pre class="programlisting">#define G_PI_4  0.78539816339744830961566084581987572104929234984378
206
 
</pre>
 
199
<pre class="programlisting">#define             G_PI_4</pre>
207
200
<p>
208
201
Pi divided by 4.
209
202
</p>
211
204
<hr>
212
205
<div class="refsect2" title="G_SQRT2">
213
206
<a name="G-SQRT2:CAPS"></a><h3>G_SQRT2</h3>
214
 
<pre class="programlisting">#define G_SQRT2 1.4142135623730950488016887242096980785696718753769
215
 
</pre>
 
207
<pre class="programlisting">#define             G_SQRT2</pre>
216
208
<p>
217
209
The square root of two.
218
210
</p>
220
212
<hr>
221
213
<div class="refsect2" title="G_LOG_2_BASE_10">
222
214
<a name="G-LOG-2-BASE-10:CAPS"></a><h3>G_LOG_2_BASE_10</h3>
223
 
<pre class="programlisting">#define G_LOG_2_BASE_10             (0.30102999566398119521)
224
 
</pre>
 
215
<pre class="programlisting">#define             G_LOG_2_BASE_10</pre>
225
216
<p>
226
217
Used for fooling around with float formats, see
227
218
<a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
237
228
</div>
238
229
<div class="footer">
239
230
<hr>
240
 
          Generated by GTK-Doc V1.12</div>
 
231
          Generated by GTK-Doc V1.13</div>
241
232
</body>
242
233
</html>
 
 
b'\\ No newline at end of file'