1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: itcompat.h Source File</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="files.html"><span>File List</span></a></li> |
---|
62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
63 | </ul> |
---|
64 | </div> |
---|
65 | <h1>itcompat.h</h1><a href="itcompat_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
66 | <a name="l00029"></a>00029 <span class="preprocessor">#ifndef ITCOMPAT_H</span> |
---|
67 | <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define ITCOMPAT_H</span> |
---|
68 | <a name="l00031"></a>00031 <span class="preprocessor"></span> |
---|
69 | <a name="l00032"></a>00032 <span class="preprocessor">#ifndef _MSC_VER</span> |
---|
70 | <a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor"># include <itpp/config.h></span> |
---|
71 | <a name="l00034"></a>00034 <span class="preprocessor">#else</span> |
---|
72 | <a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor"># include <itpp/config_msvc.h></span> |
---|
73 | <a name="l00036"></a>00036 <span class="preprocessor">#endif</span> |
---|
74 | <a name="l00037"></a>00037 <span class="preprocessor"></span> |
---|
75 | <a name="l00039"></a>00039 |
---|
76 | <a name="l00040"></a>00040 <span class="preprocessor">#ifndef NO_INT_SIZE_CHECK</span> |
---|
77 | <a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#if (SIZEOF_SHORT != 2) || (SIZEOF_UNSIGNED_SHORT != 2) \</span> |
---|
78 | <a name="l00042"></a>00042 <span class="preprocessor"> || (SIZEOF_INT != 4) || (SIZEOF_UNSIGNED_INT != 4)</span> |
---|
79 | <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor"># error \</span> |
---|
80 | <a name="l00044"></a>00044 <span class="preprocessor"> This platform uses different sizes for "short" and "int" standard \</span> |
---|
81 | <a name="l00045"></a>00045 <span class="preprocessor"> types than expected 2 and 4 bytes, respectively. This causes \</span> |
---|
82 | <a name="l00046"></a>00046 <span class="preprocessor"> incompatibilities of some parts of IT++ with most of 32- and 64-bit \</span> |
---|
83 | <a name="l00047"></a>00047 <span class="preprocessor"> platforms. Especially binary I/O operations will be incompatible. \</span> |
---|
84 | <a name="l00048"></a>00048 <span class="preprocessor"> Please report this problem to IT++ developers. If you are OK with it \</span> |
---|
85 | <a name="l00049"></a>00049 <span class="preprocessor"> you can add "-DNO_INT_SIZE_CHECK" to your CPPFLAGS and recompile the \</span> |
---|
86 | <a name="l00050"></a>00050 <span class="preprocessor"> library.</span> |
---|
87 | <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
88 | <a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#endif // ifndef NO_INT_SIZE_CHECK</span> |
---|
89 | <a name="l00053"></a>00053 <span class="preprocessor"></span> |
---|
90 | <a name="l00054"></a>00054 <span class="preprocessor">#if defined(HAVE_STDINT_H)</span> |
---|
91 | <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># include <stdint.h></span> |
---|
92 | <a name="l00056"></a>00056 <span class="preprocessor">#elif defined(HAVE_INTTYPES_H)</span> |
---|
93 | <a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"># include <inttypes.h></span> |
---|
94 | <a name="l00058"></a>00058 <span class="preprocessor">#else</span> |
---|
95 | <a name="l00059"></a>00059 <span class="preprocessor"></span> |
---|
96 | <a name="l00060"></a>00060 <span class="comment">// Common typedefs for most 32- and 64-bit architectures</span> |
---|
97 | <a name="l00061"></a>00061 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> int8_t; |
---|
98 | <a name="l00062"></a>00062 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> uint8_t; |
---|
99 | <a name="l00063"></a>00063 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> int16_t; |
---|
100 | <a name="l00064"></a>00064 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> uint16_t; |
---|
101 | <a name="l00065"></a>00065 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> int32_t; |
---|
102 | <a name="l00066"></a>00066 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uint32_t; |
---|
103 | <a name="l00067"></a>00067 |
---|
104 | <a name="l00068"></a>00068 <span class="preprocessor">#if defined(_MSC_VER)</span> |
---|
105 | <a name="l00069"></a>00069 <span class="preprocessor"></span><span class="keyword">typedef</span> __int64 int64_t; |
---|
106 | <a name="l00070"></a>00070 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int64 uint64_t; |
---|
107 | <a name="l00071"></a>00071 <span class="preprocessor">#elif (SIZEOF_LONG == 8) && (SIZEOF_UNSIGNED_LONG == 8)</span> |
---|
108 | <a name="l00072"></a>00072 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> int64_t; |
---|
109 | <a name="l00073"></a>00073 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> uint64_t; |
---|
110 | <a name="l00074"></a>00074 <span class="preprocessor">#elif (SIZEOF_LONG_LONG == 8) && (SIZEOF_UNSIGNED_LONG_LONG == 8)</span> |
---|
111 | <a name="l00075"></a>00075 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> int64_t; |
---|
112 | <a name="l00076"></a>00076 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> uint64_t; |
---|
113 | <a name="l00077"></a>00077 <span class="preprocessor">#else</span> |
---|
114 | <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor"># error \</span> |
---|
115 | <a name="l00079"></a>00079 <span class="preprocessor"> 64-bit integer type not detected on this platform. \</span> |
---|
116 | <a name="l00080"></a>00080 <span class="preprocessor"> Please report the problem to IT++ developers.</span> |
---|
117 | <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#endif // defined(_MSC_VER)</span> |
---|
118 | <a name="l00082"></a>00082 <span class="preprocessor"></span> |
---|
119 | <a name="l00083"></a>00083 <span class="preprocessor">#endif // defined(HAVE_STDINT_H)</span> |
---|
120 | <a name="l00084"></a>00084 <span class="preprocessor"></span> |
---|
121 | <a name="l00085"></a>00085 |
---|
122 | <a name="l00086"></a>00086 <span class="comment">// Microsoft Visual C++ underscore prefixed functions</span> |
---|
123 | <a name="l00087"></a>00087 <span class="preprocessor">#if defined(_MSC_VER)</span> |
---|
124 | <a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor"># include <cfloat></span> |
---|
125 | <a name="l00089"></a>00089 <span class="preprocessor"># define finite(x) _finite(x)</span> |
---|
126 | <a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor"># define isfinite(x) _finite(x)</span> |
---|
127 | <a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor"># define isnan(x) _isnan(x)</span> |
---|
128 | <a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor"># define fpclass(x) _fpclass(x)</span> |
---|
129 | <a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor"># define FP_NINF _FPCLASS_NINF</span> |
---|
130 | <a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor"># define FP_PINF _FPCLASS_PINF</span> |
---|
131 | <a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor"># define jn(a, b) _jn(a, b)</span> |
---|
132 | <a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor"># define yn(a, b) _yn(a, b)</span> |
---|
133 | <a name="l00097"></a>00097 <span class="preprocessor"></span><span class="preprocessor"># define j0(a) _j0(a)</span> |
---|
134 | <a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor"># define j1(a) _j1(a)</span> |
---|
135 | <a name="l00099"></a>00099 <span class="preprocessor"></span><span class="preprocessor">#endif // defined(_MSC_VER)</span> |
---|
136 | <a name="l00100"></a>00100 <span class="preprocessor"></span> |
---|
137 | <a name="l00101"></a>00101 |
---|
138 | <a name="l00102"></a>00102 <span class="comment">// Solaris uses <ieeefp.h> for declaring isnan() and finite() functions</span> |
---|
139 | <a name="l00103"></a>00103 <span class="preprocessor">#if defined(HAVE_IEEEFP_H)</span> |
---|
140 | <a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor"># include <ieeefp.h></span> |
---|
141 | <a name="l00105"></a>00105 <span class="preprocessor">#endif</span> |
---|
142 | <a name="l00106"></a>00106 <span class="preprocessor"></span> |
---|
143 | <a name="l00107"></a>00107 <span class="keyword">namespace </span>std |
---|
144 | <a name="l00108"></a>00108 { |
---|
145 | <a name="l00109"></a>00109 |
---|
146 | <a name="l00110"></a>00110 <span class="preprocessor">#ifndef HAVE_STD_ISINF</span> |
---|
147 | <a name="l00111"></a>00111 <span class="preprocessor"></span><span class="preprocessor">#if (HAVE_DECL_ISINF == 1) || defined(HAVE_ISINF)</span> |
---|
148 | <a name="l00112"></a>00112 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isinf(<span class="keywordtype">double</span> x) { return ::isinf(x); } |
---|
149 | <a name="l00113"></a>00113 <span class="preprocessor">#elif defined(FPCLASS)</span> |
---|
150 | <a name="l00114"></a>00114 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isinf(<span class="keywordtype">double</span> x) |
---|
151 | <a name="l00115"></a>00115 { |
---|
152 | <a name="l00116"></a>00116 <span class="keywordflow">if</span> (::fpclass(a) == FP_NINF) <span class="keywordflow">return</span> -1; |
---|
153 | <a name="l00117"></a>00117 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (::fpclass(a) == FP_PINF) <span class="keywordflow">return</span> 1; |
---|
154 | <a name="l00118"></a>00118 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0; |
---|
155 | <a name="l00119"></a>00119 } |
---|
156 | <a name="l00120"></a>00120 <span class="preprocessor">#else</span> |
---|
157 | <a name="l00121"></a>00121 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isinf(<span class="keywordtype">double</span> x) |
---|
158 | <a name="l00122"></a>00122 { |
---|
159 | <a name="l00123"></a>00123 <span class="keywordflow">if</span> ((x == x) && ((x - x) != 0.0)) <span class="keywordflow">return</span> (x < 0.0 ? -1 : 1); |
---|
160 | <a name="l00124"></a>00124 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0; |
---|
161 | <a name="l00125"></a>00125 } |
---|
162 | <a name="l00126"></a>00126 <span class="preprocessor">#endif // #if (HAVE_DECL_ISINF == 1) || defined(HAVE_ISINF)</span> |
---|
163 | <a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#endif // #ifndef HAVE_STD_ISINF</span> |
---|
164 | <a name="l00128"></a>00128 <span class="preprocessor"></span> |
---|
165 | <a name="l00129"></a>00129 <span class="preprocessor">#ifndef HAVE_STD_ISNAN</span> |
---|
166 | <a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor">#if (HAVE_DECL_ISNAN == 1) || defined(HAVE_ISNAN)</span> |
---|
167 | <a name="l00131"></a>00131 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isnan(<span class="keywordtype">double</span> x) { return ::isnan(x); } |
---|
168 | <a name="l00132"></a>00132 <span class="preprocessor">#else</span> |
---|
169 | <a name="l00133"></a>00133 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isnan(<span class="keywordtype">double</span> x) { <span class="keywordflow">return</span> ((x != x) ? 1 : 0); } |
---|
170 | <a name="l00134"></a>00134 <span class="preprocessor">#endif // #if (HAVE_DECL_ISNAN == 1) || defined(HAVE_ISNAN)</span> |
---|
171 | <a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#endif // #ifndef HAVE_STD_ISNAN</span> |
---|
172 | <a name="l00136"></a>00136 <span class="preprocessor"></span> |
---|
173 | <a name="l00137"></a>00137 <span class="preprocessor">#ifndef HAVE_STD_ISFINITE</span> |
---|
174 | <a name="l00138"></a>00138 <span class="preprocessor"></span><span class="preprocessor">#if (HAVE_DECL_ISFINITE == 1) || defined(HAVE_ISFINITE)</span> |
---|
175 | <a name="l00139"></a>00139 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isfinite(<span class="keywordtype">double</span> x) { return ::isfinite(x); } |
---|
176 | <a name="l00140"></a>00140 <span class="preprocessor">#elif defined(HAVE_FINITE)</span> |
---|
177 | <a name="l00141"></a>00141 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isfinite(<span class="keywordtype">double</span> x) { return ::finite(x); } |
---|
178 | <a name="l00142"></a>00142 <span class="preprocessor">#else</span> |
---|
179 | <a name="l00143"></a>00143 <span class="preprocessor"></span><span class="keyword">inline</span> <span class="keywordtype">int</span> isfinite(<span class="keywordtype">double</span> x) |
---|
180 | <a name="l00144"></a>00144 { |
---|
181 | <a name="l00145"></a>00145 <span class="keywordflow">return</span> ((!std::isnan(x) && !std::isinf(x)) ? 1 : 0); |
---|
182 | <a name="l00146"></a>00146 } |
---|
183 | <a name="l00147"></a>00147 <span class="preprocessor">#endif // #if (HAVE_DECL_ISFINITE == 1) || defined(HAVE_ISFINITE)</span> |
---|
184 | <a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor">#endif // #ifndef HAVE_STD_ISFINITE</span> |
---|
185 | <a name="l00149"></a>00149 <span class="preprocessor"></span> |
---|
186 | <a name="l00150"></a>00150 } <span class="comment">// namespace std</span> |
---|
187 | <a name="l00151"></a>00151 |
---|
188 | <a name="l00152"></a>00152 |
---|
189 | <a name="l00153"></a>00153 <span class="preprocessor">#ifndef HAVE_TGAMMA</span> |
---|
190 | <a name="l00155"></a>00155 <span class="preprocessor">double tgamma(double x);</span> |
---|
191 | <a name="l00156"></a>00156 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
192 | <a name="l00157"></a>00157 <span class="preprocessor"></span> |
---|
193 | <a name="l00158"></a>00158 <span class="preprocessor">#if !defined(HAVE_LGAMMA) || (HAVE_DECL_SIGNGAM != 1)</span> |
---|
194 | <a name="l00160"></a>00160 <span class="preprocessor">double lgamma(double x);</span> |
---|
195 | <a name="l00162"></a>00162 <span class="preprocessor">extern int signgam;</span> |
---|
196 | <a name="l00163"></a>00163 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
197 | <a name="l00164"></a>00164 <span class="preprocessor"></span> |
---|
198 | <a name="l00165"></a>00165 <span class="preprocessor">#ifndef HAVE_CBRT</span> |
---|
199 | <a name="l00167"></a>00167 <span class="preprocessor">double cbrt(double x);</span> |
---|
200 | <a name="l00168"></a>00168 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
201 | <a name="l00169"></a>00169 <span class="preprocessor"></span> |
---|
202 | <a name="l00170"></a>00170 |
---|
203 | <a name="l00171"></a>00171 <span class="preprocessor">#ifndef HAVE_LOG1P</span> |
---|
204 | <a name="l00173"></a>00173 <span class="preprocessor">inline double log1p(double x) { return std::log(1.0 + x); }</span> |
---|
205 | <a name="l00174"></a>00174 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
206 | <a name="l00175"></a>00175 <span class="preprocessor"></span> |
---|
207 | <a name="l00176"></a>00176 <span class="preprocessor">#ifndef HAVE_LOG2</span> |
---|
208 | <a name="l00177"></a>00177 <span class="preprocessor"></span><span class="preprocessor">#undef log2 // This is required at least for Cygwin</span> |
---|
209 | <a name="l00179"></a>00179 <span class="preprocessor">inline double log2(double x)</span> |
---|
210 | <a name="l00180"></a>00180 <span class="preprocessor"></span>{ |
---|
211 | <a name="l00181"></a>00181 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> one_over_log2 = 1.0 / <a class="code" href="group__logexpfunc.html#g320dc9f6d27a6cfe4e149633fd1ea566" title="The natural logarithm of the elements.">std::log</a>(2.0); |
---|
212 | <a name="l00182"></a>00182 <span class="keywordflow">return</span> <a class="code" href="group__logexpfunc.html#g320dc9f6d27a6cfe4e149633fd1ea566" title="The natural logarithm of the elements.">std::log</a>(x) * one_over_log2; |
---|
213 | <a name="l00183"></a>00183 } |
---|
214 | <a name="l00184"></a>00184 <span class="preprocessor">#endif</span> |
---|
215 | <a name="l00185"></a>00185 <span class="preprocessor"></span> |
---|
216 | <a name="l00186"></a>00186 |
---|
217 | <a name="l00187"></a>00187 <span class="preprocessor">#ifndef HAVE_EXPM1</span> |
---|
218 | <a name="l00189"></a>00189 <span class="preprocessor">double expm1(double x);</span> |
---|
219 | <a name="l00190"></a>00190 <span class="preprocessor"></span><span class="preprocessor">#endif // HAVE_EXPM1</span> |
---|
220 | <a name="l00191"></a>00191 <span class="preprocessor"></span> |
---|
221 | <a name="l00192"></a>00192 |
---|
222 | <a name="l00193"></a>00193 <span class="preprocessor">#ifndef HAVE_ERFC</span> |
---|
223 | <a name="l00195"></a>00195 <span class="preprocessor">double erfc(double x);</span> |
---|
224 | <a name="l00196"></a>00196 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
225 | <a name="l00197"></a>00197 <span class="preprocessor"></span> |
---|
226 | <a name="l00198"></a>00198 <span class="preprocessor">#ifndef HAVE_ERF</span> |
---|
227 | <a name="l00200"></a>00200 <span class="preprocessor">inline double erf(double x) { return (1.0 - ::erfc(x)); }</span> |
---|
228 | <a name="l00201"></a>00201 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
229 | <a name="l00202"></a>00202 <span class="preprocessor"></span> |
---|
230 | <a name="l00203"></a>00203 |
---|
231 | <a name="l00204"></a>00204 <span class="preprocessor">#ifndef HAVE_ASINH</span> |
---|
232 | <a name="l00206"></a>00206 <span class="preprocessor">double asinh(double x);</span> |
---|
233 | <a name="l00207"></a>00207 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
234 | <a name="l00208"></a>00208 <span class="preprocessor"></span> |
---|
235 | <a name="l00209"></a>00209 <span class="preprocessor">#ifndef HAVE_ACOSH</span> |
---|
236 | <a name="l00211"></a>00211 <span class="preprocessor">double acosh(double x);</span> |
---|
237 | <a name="l00212"></a>00212 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
238 | <a name="l00213"></a>00213 <span class="preprocessor"></span> |
---|
239 | <a name="l00214"></a>00214 <span class="preprocessor">#ifndef HAVE_ATANH</span> |
---|
240 | <a name="l00216"></a>00216 <span class="preprocessor">double atanh(double x);</span> |
---|
241 | <a name="l00217"></a>00217 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
242 | <a name="l00218"></a>00218 <span class="preprocessor"></span> |
---|
243 | <a name="l00219"></a>00219 |
---|
244 | <a name="l00220"></a>00220 <span class="preprocessor">#ifndef HAVE_RINT</span> |
---|
245 | <a name="l00221"></a>00221 <span class="preprocessor"></span><span class="keywordtype">double</span> rint(<span class="keywordtype">double</span> x); |
---|
246 | <a name="l00222"></a>00222 <span class="preprocessor">#endif</span> |
---|
247 | <a name="l00223"></a>00223 <span class="preprocessor"></span> |
---|
248 | <a name="l00224"></a>00224 |
---|
249 | <a name="l00225"></a>00225 <span class="comment">// Represent GCC version in a concise form</span> |
---|
250 | <a name="l00226"></a>00226 <span class="preprocessor">#define GCC_VERSION (__GNUC__ * 10000 \</span> |
---|
251 | <a name="l00227"></a>00227 <span class="preprocessor"> + __GNUC_MINOR__ * 100 \</span> |
---|
252 | <a name="l00228"></a>00228 <span class="preprocessor"> + __GNUC_PATCHLEVEL__)</span> |
---|
253 | <a name="l00229"></a>00229 <span class="preprocessor"></span> |
---|
254 | <a name="l00231"></a>00231 |
---|
255 | <a name="l00232"></a>00232 <span class="preprocessor">#endif // ITCOMPAT_H</span> |
---|
256 | </pre></div></div> |
---|
257 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:11 2009 for mixpp by |
---|
258 | <a href="http://www.doxygen.org/index.html"> |
---|
259 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
260 | </body> |
---|
261 | </html> |
---|