2 * Copyright 2011 Alexandre Julliard
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 #define _USE_MATH_DEFINES
31 typedef double LDOUBLE
; /* long double is just a double */
33 typedef struct { } std_Num_base
;
34 typedef struct { } std_Ctraits
;
36 enum std_float_denorm_style
38 denorm_indeterminate
= -1,
43 enum std_float_round_style
45 round_indeterminate
= -1,
46 round_toward_zero
= 0,
48 round_toward_infinity
= 2,
49 round_toward_neg_infinity
= 3
52 /* these are defined as integers but the bit patterns are then interpreted as floats/doubles */
53 const DWORD _FDenorm
= 1;
54 const ULONGLONG _Denorm
= 1;
55 const ULONGLONG _LDenorm
= 1;
56 const DWORD _FInf
= 0x7f800000;
57 const ULONGLONG _Inf
= (ULONGLONG
)0x7ff00000 << 32;
58 const ULONGLONG _LInf
= (ULONGLONG
)0x7ff00000 << 32;
59 const DWORD _FNan
= 0x7fc00000;
60 const ULONGLONG _Nan
= (ULONGLONG
)0x7ff80000 << 32;
61 const ULONGLONG _LNan
= (ULONGLONG
)0x7ff80000 << 32;
62 const DWORD _FSnan
= 0x7f800001;
63 const ULONGLONG _Snan
= ((ULONGLONG
)0x7ff00000 << 32) + 1;
64 const ULONGLONG _LSnan
= ((ULONGLONG
)0x7ff00000 << 32) + 1;
65 const ULONGLONG _LZero
= 0;
66 const ULONGLONG _Hugeval
= (ULONGLONG
)0x7ff00000 << 32;
68 const float _FEps
= FLT_EPSILON
;
69 const double _Eps
= DBL_EPSILON
;
70 const LDOUBLE _LEps
= LDBL_EPSILON
;
72 /* ?digits10@?$numeric_limits@C@std@@2HB -> public: static int const std::numeric_limits<signed char>::digits10 */
73 const int std_numeric_limits_signed_char_digits10
= 2;
75 /* ?digits10@?$numeric_limits@D@std@@2HB -> public: static int const std::numeric_limits<char>::digits10 */
76 const int std_numeric_limits_char_digits10
= 2;
78 /* ?digits10@?$numeric_limits@E@std@@2HB -> public: static int const std::numeric_limits<unsigned char>::digits10 */
79 const int std_numeric_limits_unsigned_char_digits10
= 2;
81 /* ?digits10@?$numeric_limits@F@std@@2HB -> public: static int const std::numeric_limits<short>::digits10 */
82 const int std_numeric_limits_short_digits10
= 4;
84 /* ?digits10@?$numeric_limits@G@std@@2HB -> public: static int const std::numeric_limits<unsigned short>::digits10 */
85 const int std_numeric_limits_unsigned_short_digits10
= 4;
87 /* ?digits10@?$numeric_limits@H@std@@2HB -> public: static int const std::numeric_limits<int>::digits10 */
88 const int std_numeric_limits_int_digits10
= 9;
90 /* ?digits10@?$numeric_limits@I@std@@2HB -> public: static int const std::numeric_limits<unsigned int>::digits10 */
91 const int std_numeric_limits_unsigned_int_digits10
= 9;
93 /* ?digits10@?$numeric_limits@J@std@@2HB -> public: static int const std::numeric_limits<long>::digits10 */
94 const int std_numeric_limits_long_digits10
= 9;
96 /* ?digits10@?$numeric_limits@K@std@@2HB -> public: static int const std::numeric_limits<unsigned long>::digits10 */
97 const int std_numeric_limits_unsigned_long_digits10
= 9;
99 /* ?digits10@?$numeric_limits@M@std@@2HB -> public: static int const std::numeric_limits<float>::digits10 */
100 const int std_numeric_limits_float_digits10
= FLT_DIG
;
102 /* ?digits10@?$numeric_limits@N@std@@2HB -> public: static int const std::numeric_limits<double>::digits10 */
103 const int std_numeric_limits_double_digits10
= DBL_DIG
;
105 /* ?digits10@?$numeric_limits@O@std@@2HB -> public: static int const std::numeric_limits<long double>::digits10 */
106 const int std_numeric_limits_long_double_digits10
= LDBL_DIG
;
108 /* ?digits10@?$numeric_limits@_J@std@@2HB -> public: static int const std::numeric_limits<__int64>::digits10 */
109 const int std_numeric_limits_int64_digits10
= 18;
111 /* ?digits10@?$numeric_limits@_K@std@@2HB -> public: static int const std::numeric_limits<unsigned __int64>::digits10 */
112 const int std_numeric_limits_unsigned_int64_digits10
= 18;
114 /* ?digits10@?$numeric_limits@_N@std@@2HB -> public: static int const std::numeric_limits<bool>::digits10 */
115 const int std_numeric_limits_bool_digits10
= 0;
117 /* ?digits10@?$numeric_limits@_W@std@@2HB -> public: static int const std::numeric_limits<wchar_t>::digits10 */
118 const int std_numeric_limits_wchar_t_digits10
= 4;
120 /* ?digits10@_Num_base@std@@2HB -> public: static int const std::_Num_base::digits10 */
121 const int std_Num_base_digits10
= 0;
123 /* ?digits@?$numeric_limits@C@std@@2HB -> public: static int const std::numeric_limits<signed char>::digits */
124 const int std_numeric_limits_signed_char_digits
= 7;
126 /* ?digits@?$numeric_limits@D@std@@2HB -> public: static int const std::numeric_limits<char>::digits */
127 const int std_numeric_limits_char_digits
= (CHAR_MIN
< 0) ? 7 : 8;
129 /* ?digits@?$numeric_limits@E@std@@2HB -> public: static int const std::numeric_limits<unsigned char>::digits */
130 const int std_numeric_limits_unsigned_char_digits
= 8;
132 /* ?digits@?$numeric_limits@F@std@@2HB -> public: static int const std::numeric_limits<short>::digits */
133 const int std_numeric_limits_short_digits
= 15;
135 /* ?digits@?$numeric_limits@G@std@@2HB -> public: static int const std::numeric_limits<unsigned short>::digits */
136 const int std_numeric_limits_unsigned_short_digits
= 16;
138 /* ?digits@?$numeric_limits@H@std@@2HB -> public: static int const std::numeric_limits<int>::digits */
139 const int std_numeric_limits_int_digits
= 31;
141 /* ?digits@?$numeric_limits@I@std@@2HB -> public: static int const std::numeric_limits<unsigned int>::digits */
142 const int std_numeric_limits_unsigned_int_digits
= 32;
144 /* ?digits@?$numeric_limits@J@std@@2HB -> public: static int const std::numeric_limits<long>::digits */
145 const int std_numeric_limits_long_digits
= 31;
147 /* ?digits@?$numeric_limits@K@std@@2HB -> public: static int const std::numeric_limits<unsigned long>::digits */
148 const int std_numeric_limits_unsigned_long_digits
= 32;
150 /* ?digits@?$numeric_limits@M@std@@2HB -> public: static int const std::numeric_limits<float>::digits */
151 const int std_numeric_limits_float_digits
= FLT_MANT_DIG
;
153 /* ?digits@?$numeric_limits@N@std@@2HB -> public: static int const std::numeric_limits<double>::digits */
154 const int std_numeric_limits_double_digits
= DBL_MANT_DIG
;
156 /* ?digits@?$numeric_limits@O@std@@2HB -> public: static int const std::numeric_limits<long double>::digits */
157 const int std_numeric_limits_long_double_digits
= LDBL_MANT_DIG
;
159 /* ?digits@?$numeric_limits@_J@std@@2HB -> public: static int const std::numeric_limits<__int64>::digits */
160 const int std_numeric_limits_int64_digits
= 63;
162 /* ?digits@?$numeric_limits@_K@std@@2HB -> public: static int const std::numeric_limits<unsigned __int64>::digits */
163 const int std_numeric_limits_unsigned_int64_digits
= 64;
165 /* ?digits@?$numeric_limits@_N@std@@2HB -> public: static int const std::numeric_limits<bool>::digits */
166 const int std_numeric_limits_bool_digits
= 1;
168 /* ?digits@?$numeric_limits@_W@std@@2HB -> public: static int const std::numeric_limits<wchar_t>::digits */
169 const int std_numeric_limits_wchar_t_digits
= 16;
171 /* ?digits@_Num_base@std@@2HB -> public: static int const std::_Num_base::digits */
172 const int std_Num_base_digits
= 0;
174 /* ?has_denorm@_Num_base@std@@2W4float_denorm_style@2@B -> public: static enum std::float_denorm_style const std::_Num_base::has_denorm */
175 const enum std_float_denorm_style std_Num_base_has_denorm
= denorm_absent
;
177 /* ?has_denorm@_Num_float_base@std@@2W4float_denorm_style@2@B -> public: static enum std::float_denorm_style const std::_Num_float_base::has_denorm */
178 const enum std_float_denorm_style std_Num_float_base_has_denorm
= denorm_present
;
180 /* ?has_denorm_loss@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::has_denorm_loss */
181 const BOOLEAN std_Num_base_has_denorm_loss
= FALSE
;
183 /* ?has_denorm_loss@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::has_denorm_loss */
184 const BOOLEAN std_Num_float_base_has_denorm_loss
= TRUE
;
186 /* ?has_infinity@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::has_infinity */
187 const BOOLEAN std_Num_base_has_infinity
= FALSE
;
189 /* ?has_infinity@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::has_infinity */
190 const BOOLEAN std_Num_float_base_has_infinity
= TRUE
;
192 /* ?has_quiet_NaN@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::has_quiet_NaN */
193 const BOOLEAN std_Num_base_has_quiet_NaN
= FALSE
;
195 /* ?has_quiet_NaN@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::has_quiet_NaN */
196 const BOOLEAN std_Num_float_base_has_quiet_NaN
= TRUE
;
198 /* ?has_signaling_NaN@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::has_signaling_NaN */
199 const BOOLEAN std_Num_base_has_signaling_NaN
= FALSE
;
201 /* ?has_signaling_NaN@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::has_signaling_NaN */
202 const BOOLEAN std_Num_float_base_has_signaling_NaN
= TRUE
;
204 /* ?is_bounded@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_bounded */
205 const BOOLEAN std_Num_base_is_bounded
= FALSE
;
207 /* ?is_bounded@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_bounded */
208 const BOOLEAN std_Num_float_base_is_bounded
= TRUE
;
210 /* ?is_bounded@_Num_int_base@std@@2_NB -> public: static bool const std::_Num_int_base::is_bounded */
211 const BOOLEAN std_Num_int_base_is_bounded
= TRUE
;
213 /* ?is_exact@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_exact */
214 const BOOLEAN std_Num_base_is_exact
= FALSE
;
216 /* ?is_exact@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_exact */
217 const BOOLEAN std_Num_float_base_is_exact
= FALSE
;
219 /* ?is_exact@_Num_int_base@std@@2_NB -> public: static bool const std::_Num_int_base::is_exact */
220 const BOOLEAN std_Num_int_base_is_exact
= TRUE
;
222 /* ?is_iec559@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_iec559 */
223 const BOOLEAN std_Num_base_is_iec559
= FALSE
;
225 /* ?is_iec559@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_iec559 */
226 const BOOLEAN std_Num_float_base_is_iec559
= TRUE
;
228 /* ?is_integer@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_integer */
229 const BOOLEAN std_Num_base_is_integer
= FALSE
;
231 /* ?is_integer@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_integer */
232 const BOOLEAN std_Num_float_base_is_integer
= FALSE
;
234 /* ?is_integer@_Num_int_base@std@@2_NB -> public: static bool const std::_Num_int_base::is_integer */
235 const BOOLEAN std_Num_int_base_is_integer
= TRUE
;
237 /* ?is_modulo@?$numeric_limits@_N@std@@2_NB -> public: static bool const std::numeric_limits<bool>::is_modulo */
238 const BOOLEAN std_numeric_limits_bool_is_modulo
= FALSE
;
240 /* ?is_modulo@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_modulo */
241 const BOOLEAN std_Num_base_is_modulo
= FALSE
;
243 /* ?is_modulo@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_modulo */
244 const BOOLEAN std_Num_float_base_is_modulo
= FALSE
;
246 /* ?is_modulo@_Num_int_base@std@@2_NB -> public: static bool const std::_Num_int_base::is_modulo */
247 const BOOLEAN std_Num_int_base_is_modulo
= TRUE
;
249 /* ?is_signed@?$numeric_limits@C@std@@2_NB -> public: static bool const std::numeric_limits<signed char>::is_signed */
250 const BOOLEAN std_numeric_limits_signed_char_is_signed
= TRUE
;
252 /* ?is_signed@?$numeric_limits@D@std@@2_NB -> public: static bool const std::numeric_limits<char>::is_signed */
253 const BOOLEAN std_numeric_limits_char_is_signed
= (CHAR_MIN
< 0);
255 /* ?is_signed@?$numeric_limits@E@std@@2_NB -> public: static bool const std::numeric_limits<unsigned char>::is_signed */
256 const BOOLEAN std_numeric_limits_unsigned_char_is_signed
= FALSE
;
258 /* ?is_signed@?$numeric_limits@F@std@@2_NB -> public: static bool const std::numeric_limits<short>::is_signed */
259 const BOOLEAN std_numeric_limits_short_is_signed
= TRUE
;
261 /* ?is_signed@?$numeric_limits@G@std@@2_NB -> public: static bool const std::numeric_limits<unsigned short>::is_signed */
262 const BOOLEAN std_numeric_limits_unsigned_short_is_signed
= FALSE
;
264 /* ?is_signed@?$numeric_limits@H@std@@2_NB -> public: static bool const std::numeric_limits<int>::is_signed */
265 const BOOLEAN std_numeric_limits_int_is_signed
= TRUE
;
267 /* ?is_signed@?$numeric_limits@I@std@@2_NB -> public: static bool const std::numeric_limits<unsigned int>::is_signed */
268 const BOOLEAN std_numeric_limits_unsigned_int_is_signed
= FALSE
;
270 /* ?is_signed@?$numeric_limits@J@std@@2_NB -> public: static bool const std::numeric_limits<long>::is_signed */
271 const BOOLEAN std_numeric_limits_long_is_signed
= TRUE
;
273 /* ?is_signed@?$numeric_limits@K@std@@2_NB -> public: static bool const std::numeric_limits<unsigned long>::is_signed */
274 const BOOLEAN std_numeric_limits_unsigned_long_is_signed
= FALSE
;
276 /* ?is_signed@?$numeric_limits@_J@std@@2_NB -> public: static bool const std::numeric_limits<__int64>::is_signed */
277 const BOOLEAN std_numeric_limits_int64_is_signed
= TRUE
;
279 /* ?is_signed@?$numeric_limits@_K@std@@2_NB -> public: static bool const std::numeric_limits<unsigned __int64>::is_signed */
280 const BOOLEAN std_numeric_limits_unsigned_int64_is_signed
= FALSE
;
282 /* ?is_signed@?$numeric_limits@_N@std@@2_NB -> public: static bool const std::numeric_limits<bool>::is_signed */
283 const BOOLEAN std_numeric_limits_bool_is_signed
= FALSE
;
285 /* ?is_signed@?$numeric_limits@_W@std@@2_NB -> public: static bool const std::numeric_limits<wchar_t>::is_signed */
286 const BOOLEAN std_numeric_limits_wchar_t_is_signed
= FALSE
;
288 /* ?is_signed@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_signed */
289 const BOOLEAN std_Num_base_is_signed
= FALSE
;
291 /* ?is_signed@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_signed */
292 const BOOLEAN std_Num_float_base_is_signed
= TRUE
;
294 /* ?is_specialized@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::is_specialized */
295 const BOOLEAN std_Num_base_is_specialized
= FALSE
;
297 /* ?is_specialized@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::is_specialized */
298 const BOOLEAN std_Num_float_base_is_specialized
= TRUE
;
300 /* ?is_specialized@_Num_int_base@std@@2_NB -> public: static bool const std::_Num_int_base::is_specialized */
301 const BOOLEAN std_Num_int_base_is_specialized
= TRUE
;
303 /* ?max_exponent10@?$numeric_limits@M@std@@2HB -> public: static int const std::numeric_limits<float>::max_exponent10 */
304 const int std_numeric_limits_float_max_exponent10
= FLT_MAX_10_EXP
;
306 /* ?max_exponent10@?$numeric_limits@N@std@@2HB -> public: static int const std::numeric_limits<double>::max_exponent10 */
307 const int std_numeric_limits_double_max_exponent10
= DBL_MAX_10_EXP
;
309 /* ?max_exponent10@?$numeric_limits@O@std@@2HB -> public: static int const std::numeric_limits<long double>::max_exponent10 */
310 const int std_numeric_limits_long_double_max_exponent10
= LDBL_MAX_10_EXP
;
312 /* ?max_exponent10@_Num_base@std@@2HB -> public: static int const std::_Num_base::max_exponent10 */
313 const int std_Num_base_max_exponent10
= 0;
315 /* ?max_exponent@?$numeric_limits@M@std@@2HB -> public: static int const std::numeric_limits<float>::max_exponent */
316 const int std_numeric_limits_float_max_exponent
= FLT_MAX_EXP
;
318 /* ?max_exponent@?$numeric_limits@N@std@@2HB -> public: static int const std::numeric_limits<double>::max_exponent */
319 const int std_numeric_limits_double_max_exponent
= DBL_MAX_EXP
;
321 /* ?max_exponent@?$numeric_limits@O@std@@2HB -> public: static int const std::numeric_limits<long double>::max_exponent */
322 const int std_numeric_limits_long_double_max_exponent
= LDBL_MAX_EXP
;
324 /* ?max_exponent@_Num_base@std@@2HB -> public: static int const std::_Num_base::max_exponent */
325 const int std_Num_base_max_exponent
= 0;
327 /* ?min_exponent10@?$numeric_limits@M@std@@2HB -> public: static int const std::numeric_limits<float>::min_exponent10 */
328 const int std_numeric_limits_float_min_exponent10
= FLT_MIN_10_EXP
;
330 /* ?min_exponent10@?$numeric_limits@N@std@@2HB -> public: static int const std::numeric_limits<double>::min_exponent10 */
331 const int std_numeric_limits_double_min_exponent10
= DBL_MIN_10_EXP
;
333 /* ?min_exponent10@?$numeric_limits@O@std@@2HB -> public: static int const std::numeric_limits<long double>::min_exponent10 */
334 const int std_numeric_limits_long_double_min_exponent10
= LDBL_MIN_10_EXP
;
336 /* ?min_exponent10@_Num_base@std@@2HB -> public: static int const std::_Num_base::min_exponent10 */
337 const int std_Num_base_min_exponent10
= 0;
339 /* ?min_exponent@?$numeric_limits@M@std@@2HB -> public: static int const std::numeric_limits<float>::min_exponent */
340 const int std_numeric_limits_float_min_exponent
= FLT_MIN_EXP
;
342 /* ?min_exponent@?$numeric_limits@N@std@@2HB -> public: static int const std::numeric_limits<double>::min_exponent */
343 const int std_numeric_limits_double_min_exponent
= DBL_MIN_EXP
;
345 /* ?min_exponent@?$numeric_limits@O@std@@2HB -> public: static int const std::numeric_limits<long double>::min_exponent */
346 const int std_numeric_limits_long_double_min_exponent
= LDBL_MIN_EXP
;
348 /* ?min_exponent@_Num_base@std@@2HB -> public: static int const std::_Num_base::min_exponent */
349 const int std_Num_base_min_exponent
= 0;
351 /* ?radix@_Num_base@std@@2HB -> public: static int const std::_Num_base::radix */
352 const int std_Num_base_radix
= 0;
354 /* ?radix@_Num_float_base@std@@2HB -> public: static int const std::_Num_float_base::radix */
355 const int std_Num_float_base_radix
= FLT_RADIX
;
357 /* ?radix@_Num_int_base@std@@2HB -> public: static int const std::_Num_int_base::radix */
358 const int std_Num_int_base_radix
= 2;
360 /* ?round_style@_Num_base@std@@2W4float_round_style@2@B -> public: static enum std::float_round_style const std::_Num_base::round_style */
361 const enum std_float_round_style std_Num_base_round_style
= round_toward_zero
;
363 /* ?round_style@_Num_float_base@std@@2W4float_round_style@2@B -> public: static enum std::float_round_style const std::_Num_float_base::round_style */
364 const enum std_float_round_style std_Num_float_base_round_style
= round_to_nearest
;
366 /* ?tinyness_before@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::tinyness_before */
367 const BOOLEAN std_Num_base_tinyness_before
= FALSE
;
369 /* ?tinyness_before@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::tinyness_before */
370 const BOOLEAN std_Num_float_base_tinyness_before
= TRUE
;
372 /* ?traps@_Num_base@std@@2_NB -> public: static bool const std::_Num_base::traps */
373 const BOOLEAN std_Num_base_traps
= FALSE
;
375 /* ?traps@_Num_float_base@std@@2_NB -> public: static bool const std::_Num_float_base::traps */
376 const BOOLEAN std_Num_float_base_traps
= TRUE
;
378 /* ??4?$numeric_limits@C@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<signed char> & __thiscall std::numeric_limits<signed char>::operator=(class std::numeric_limits<signed char> const &) */
379 /* ??4?$numeric_limits@C@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<signed char> & __ptr64 __cdecl std::numeric_limits<signed char>::operator=(class std::numeric_limits<signed char> const & __ptr64) __ptr64 */
380 /* ??4?$numeric_limits@D@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<char> & __thiscall std::numeric_limits<char>::operator=(class std::numeric_limits<char> const &) */
381 /* ??4?$numeric_limits@D@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<char> & __ptr64 __cdecl std::numeric_limits<char>::operator=(class std::numeric_limits<char> const & __ptr64) __ptr64 */
382 /* ??4?$numeric_limits@E@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<unsigned char> & __thiscall std::numeric_limits<unsigned char>::operator=(class std::numeric_limits<unsigned char> const &) */
383 /* ??4?$numeric_limits@E@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<unsigned char> & __ptr64 __cdecl std::numeric_limits<unsigned char>::operator=(class std::numeric_limits<unsigned char> const & __ptr64) __ptr64 */
384 /* ??4?$numeric_limits@F@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<short> & __thiscall std::numeric_limits<short>::operator=(class std::numeric_limits<short> const &) */
385 /* ??4?$numeric_limits@F@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<short> & __ptr64 __cdecl std::numeric_limits<short>::operator=(class std::numeric_limits<short> const & __ptr64) __ptr64 */
386 /* ??4?$numeric_limits@G@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<unsigned short> & __thiscall std::numeric_limits<unsigned short>::operator=(class std::numeric_limits<unsigned short> const &) */
387 /* ??4?$numeric_limits@G@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<unsigned short> & __ptr64 __cdecl std::numeric_limits<unsigned short>::operator=(class std::numeric_limits<unsigned short> const & __ptr64) __ptr64 */
388 /* ??4?$numeric_limits@H@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<int> & __thiscall std::numeric_limits<int>::operator=(class std::numeric_limits<int> const &) */
389 /* ??4?$numeric_limits@H@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<int> & __ptr64 __cdecl std::numeric_limits<int>::operator=(class std::numeric_limits<int> const & __ptr64) __ptr64 */
390 /* ??4?$numeric_limits@I@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<unsigned int> & __thiscall std::numeric_limits<unsigned int>::operator=(class std::numeric_limits<unsigned int> const &) */
391 /* ??4?$numeric_limits@I@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<unsigned int> & __ptr64 __cdecl std::numeric_limits<unsigned int>::operator=(class std::numeric_limits<unsigned int> const & __ptr64) __ptr64 */
392 /* ??4?$numeric_limits@J@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<long> & __thiscall std::numeric_limits<long>::operator=(class std::numeric_limits<long> const &) */
393 /* ??4?$numeric_limits@J@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<long> & __ptr64 __cdecl std::numeric_limits<long>::operator=(class std::numeric_limits<long> const & __ptr64) __ptr64 */
394 /* ??4?$numeric_limits@K@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<unsigned long> & __thiscall std::numeric_limits<unsigned long>::operator=(class std::numeric_limits<unsigned long> const &) */
395 /* ??4?$numeric_limits@K@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<unsigned long> & __ptr64 __cdecl std::numeric_limits<unsigned long>::operator=(class std::numeric_limits<unsigned long> const & __ptr64) __ptr64 */
396 /* ??4?$numeric_limits@M@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<float> & __thiscall std::numeric_limits<float>::operator=(class std::numeric_limits<float> const &) */
397 /* ??4?$numeric_limits@M@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<float> & __ptr64 __cdecl std::numeric_limits<float>::operator=(class std::numeric_limits<float> const & __ptr64) __ptr64 */
398 /* ??4?$numeric_limits@N@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<double> & __thiscall std::numeric_limits<double>::operator=(class std::numeric_limits<double> const &) */
399 /* ??4?$numeric_limits@N@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<double> & __ptr64 __cdecl std::numeric_limits<double>::operator=(class std::numeric_limits<double> const & __ptr64) __ptr64 */
400 /* ??4?$numeric_limits@O@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<long double> & __thiscall std::numeric_limits<long double>::operator=(class std::numeric_limits<long double> const &) */
401 /* ??4?$numeric_limits@O@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<long double> & __ptr64 __cdecl std::numeric_limits<long double>::operator=(class std::numeric_limits<long double> const & __ptr64) __ptr64 */
402 /* ??4?$numeric_limits@_J@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<__int64> & __thiscall std::numeric_limits<__int64>::operator=(class std::numeric_limits<__int64> const &) */
403 /* ??4?$numeric_limits@_J@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<__int64> & __ptr64 __cdecl std::numeric_limits<__int64>::operator=(class std::numeric_limits<__int64> const & __ptr64) __ptr64 */
404 /* ??4?$numeric_limits@_K@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<unsigned __int64> & __thiscall std::numeric_limits<unsigned __int64>::operator=(class std::numeric_limits<unsigned __int64> const &) */
405 /* ??4?$numeric_limits@_K@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<unsigned __int64> & __ptr64 __cdecl std::numeric_limits<unsigned __int64>::operator=(class std::numeric_limits<unsigned __int64> const & __ptr64) __ptr64 */
406 /* ??4?$numeric_limits@_N@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<bool> & __thiscall std::numeric_limits<bool>::operator=(class std::numeric_limits<bool> const &) */
407 /* ??4?$numeric_limits@_N@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<bool> & __ptr64 __cdecl std::numeric_limits<bool>::operator=(class std::numeric_limits<bool> const & __ptr64) __ptr64 */
408 /* ??4?$numeric_limits@_W@std@@QAEAAV01@ABV01@@Z -> public: class std::numeric_limits<wchar_t> & __thiscall std::numeric_limits<wchar_t>::operator=(class std::numeric_limits<wchar_t> const &) */
409 /* ??4?$numeric_limits@_W@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::numeric_limits<wchar_t> & __ptr64 __cdecl std::numeric_limits<wchar_t>::operator=(class std::numeric_limits<wchar_t> const & __ptr64) __ptr64 */
410 /* ??4_Num_base@std@@QAEAAU01@ABU01@@Z -> public: struct std::_Num_base & __thiscall std::_Num_base::operator=(struct std::_Num_base const &) */
411 /* ??4_Num_base@std@@QEAAAEAU01@AEBU01@@Z -> public: struct std::_Num_base & __ptr64 __cdecl std::_Num_base::operator=(struct std::_Num_base const & __ptr64) __ptr64 */
412 /* ??4_Num_float_base@std@@QAEAAU01@ABU01@@Z -> public: struct std::_Num_float_base & __thiscall std::_Num_float_base::operator=(struct std::_Num_float_base const &) */
413 /* ??4_Num_float_base@std@@QEAAAEAU01@AEBU01@@Z -> public: struct std::_Num_float_base & __ptr64 __cdecl std::_Num_float_base::operator=(struct std::_Num_float_base const & __ptr64) __ptr64 */
414 /* ??4_Num_int_base@std@@QAEAAU01@ABU01@@Z -> public: struct std::_Num_int_base & __thiscall std::_Num_int_base::operator=(struct std::_Num_int_base const &) */
415 /* ??4_Num_int_base@std@@QEAAAEAU01@AEBU01@@Z -> public: struct std::_Num_int_base & __ptr64 __cdecl std::_Num_int_base::operator=(struct std::_Num_int_base const & __ptr64) __ptr64 */
416 DEFINE_THISCALL_WRAPPER( std_Num_base_op_assign
, 8 )
417 std_Num_base
* __thiscall
std_Num_base_op_assign( std_Num_base
*this, std_Num_base
*right
)
422 /* ?denorm_min@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::denorm_min(void) */
423 signed char __cdecl
std_numeric_limits_signed_char_denorm_min(void) { return 0; }
425 /* ?denorm_min@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::denorm_min(void) */
426 char __cdecl
std_numeric_limits_char_denorm_min(void) { return 0; }
428 /* ?denorm_min@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::denorm_min(void) */
429 unsigned char __cdecl
std_numeric_limits_unsigned_char_denorm_min(void) { return 0; }
431 /* ?denorm_min@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::denorm_min(void) */
432 short __cdecl
std_numeric_limits_short_denorm_min(void) { return 0; }
434 /* ?denorm_min@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::denorm_min(void) */
435 unsigned short __cdecl
std_numeric_limits_unsigned_short_denorm_min(void) { return 0; }
437 /* ?denorm_min@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::denorm_min(void) */
438 int __cdecl
std_numeric_limits_int_denorm_min(void) { return 0; }
440 /* ?denorm_min@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::denorm_min(void) */
441 unsigned int __cdecl
std_numeric_limits_unsigned_int_denorm_min(void) { return 0; }
443 /* ?denorm_min@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::denorm_min(void) */
444 LONG __cdecl
std_numeric_limits_long_denorm_min(void) { return 0; }
446 /* ?denorm_min@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::denorm_min(void) */
447 ULONG __cdecl
std_numeric_limits_unsigned_long_denorm_min(void) { return 0; }
449 /* ?denorm_min@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::denorm_min(void) */
450 float __cdecl
std_numeric_limits_float_denorm_min(void) { return *(float *)&_FDenorm
; }
452 /* ?denorm_min@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::denorm_min(void) */
453 double __cdecl
std_numeric_limits_double_denorm_min(void) { return *(double *)&_Denorm
; }
455 /* ?denorm_min@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::denorm_min(void) */
456 LDOUBLE __cdecl
std_numeric_limits_long_double_denorm_min(void) { return *(LDOUBLE
*)&_LDenorm
; }
458 /* ?denorm_min@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::denorm_min(void) */
459 __int64 __cdecl
std_numeric_limits_int64_denorm_min(void) { return 0; }
461 /* ?denorm_min@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::denorm_min(void) */
462 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_denorm_min(void) { return 0; }
464 /* ?denorm_min@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::denorm_min(void) */
465 BOOLEAN __cdecl
std_numeric_limits_bool_denorm_min(void) { return FALSE
; }
467 /* ?denorm_min@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::denorm_min(void) */
468 WCHAR __cdecl
std_numeric_limits_wchar_t_denorm_min(void) { return 0; }
470 /* ?epsilon@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::epsilon(void) */
471 signed char __cdecl
std_numeric_limits_signed_char_epsilon(void) { return 0; }
473 /* ?epsilon@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::epsilon(void) */
474 char __cdecl
std_numeric_limits_char_epsilon(void) { return 0; }
476 /* ?epsilon@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::epsilon(void) */
477 unsigned char __cdecl
std_numeric_limits_unsigned_char_epsilon(void) { return 0; }
479 /* ?epsilon@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::epsilon(void) */
480 short __cdecl
std_numeric_limits_short_epsilon(void) { return 0; }
482 /* ?epsilon@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::epsilon(void) */
483 unsigned short __cdecl
std_numeric_limits_unsigned_short_epsilon(void) { return 0; }
485 /* ?epsilon@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::epsilon(void) */
486 int __cdecl
std_numeric_limits_int_epsilon(void) { return 0; }
488 /* ?epsilon@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::epsilon(void) */
489 unsigned int __cdecl
std_numeric_limits_unsigned_int_epsilon(void) { return 0; }
491 /* ?epsilon@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::epsilon(void) */
492 LONG __cdecl
std_numeric_limits_long_epsilon(void) { return 0; }
494 /* ?epsilon@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::epsilon(void) */
495 ULONG __cdecl
std_numeric_limits_unsigned_long_epsilon(void) { return 0; }
497 /* ?epsilon@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::epsilon(void) */
498 float __cdecl
std_numeric_limits_float_epsilon(void) { return _FEps
; }
500 /* ?epsilon@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::epsilon(void) */
501 double __cdecl
std_numeric_limits_double_epsilon(void) { return _Eps
; }
503 /* ?epsilon@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::epsilon(void) */
504 LDOUBLE __cdecl
std_numeric_limits_long_double_epsilon(void) { return _LEps
; }
506 /* ?epsilon@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::epsilon(void) */
507 __int64 __cdecl
std_numeric_limits_int64_epsilon(void) { return 0; }
509 /* ?epsilon@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::epsilon(void) */
510 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_epsilon(void) { return 0; }
512 /* ?epsilon@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::epsilon(void) */
513 BOOLEAN __cdecl
std_numeric_limits_bool_epsilon(void) { return FALSE
; }
515 /* ?epsilon@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::epsilon(void) */
516 WCHAR __cdecl
std_numeric_limits_wchar_t_epsilon(void) { return 0; }
518 /* ?infinity@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::infinity(void) */
519 signed char __cdecl
std_numeric_limits_signed_char_infinity(void) { return 0; }
521 /* ?infinity@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::infinity(void) */
522 char __cdecl
std_numeric_limits_char_infinity(void) { return 0; }
524 /* ?infinity@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::infinity(void) */
525 unsigned char __cdecl
std_numeric_limits_unsigned_char_infinity(void) { return 0; }
527 /* ?infinity@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::infinity(void) */
528 short __cdecl
std_numeric_limits_short_infinity(void) { return 0; }
530 /* ?infinity@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::infinity(void) */
531 unsigned short __cdecl
std_numeric_limits_unsigned_short_infinity(void) { return 0; }
533 /* ?infinity@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::infinity(void) */
534 int __cdecl
std_numeric_limits_int_infinity(void) { return 0; }
536 /* ?infinity@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::infinity(void) */
537 unsigned int __cdecl
std_numeric_limits_unsigned_int_infinity(void) { return 0; }
539 /* ?infinity@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::infinity(void) */
540 LONG __cdecl
std_numeric_limits_long_infinity(void) { return 0; }
542 /* ?infinity@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::infinity(void) */
543 ULONG __cdecl
std_numeric_limits_unsigned_long_infinity(void) { return 0; }
545 /* ?infinity@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::infinity(void) */
546 float __cdecl
std_numeric_limits_float_infinity(void) { return *(float *)&_FInf
; }
548 /* ?infinity@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::infinity(void) */
549 double __cdecl
std_numeric_limits_double_infinity(void) { return *(double *)&_Inf
; }
551 /* ?infinity@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::infinity(void) */
552 LDOUBLE __cdecl
std_numeric_limits_long_double_infinity(void) { return *(LDOUBLE
*)&_LInf
; }
554 /* ?infinity@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::infinity(void) */
555 __int64 __cdecl
std_numeric_limits_int64_infinity(void) { return 0; }
557 /* ?infinity@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::infinity(void) */
558 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_infinity(void) { return 0; }
560 /* ?infinity@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::infinity(void) */
561 BOOLEAN __cdecl
std_numeric_limits_bool_infinity(void) { return FALSE
; }
563 /* ?infinity@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::infinity(void) */
564 WCHAR __cdecl
std_numeric_limits_wchar_t_infinity(void) { return 0; }
566 /* ?max@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::max(void) */
567 signed char __cdecl
std_numeric_limits_signed_char_max(void) { return SCHAR_MAX
; }
569 /* ?max@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::max(void) */
570 char __cdecl
std_numeric_limits_char_max(void) { return CHAR_MAX
; }
572 /* ?max@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::max(void) */
573 unsigned char __cdecl
std_numeric_limits_unsigned_char_max(void) { return UCHAR_MAX
; }
575 /* ?max@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::max(void) */
576 short __cdecl
std_numeric_limits_short_max(void) { return SHRT_MAX
; }
578 /* ?max@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::max(void) */
579 unsigned short __cdecl
std_numeric_limits_unsigned_short_max(void) { return USHRT_MAX
; }
581 /* ?max@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::max(void) */
582 int __cdecl
std_numeric_limits_int_max(void) { return INT_MAX
; }
584 /* ?max@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::max(void) */
585 unsigned int __cdecl
std_numeric_limits_unsigned_int_max(void) { return UINT_MAX
; }
587 /* ?max@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::max(void) */
588 LONG __cdecl
std_numeric_limits_long_max(void) { return LONG_MAX
; }
590 /* ?max@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::max(void) */
591 ULONG __cdecl
std_numeric_limits_unsigned_long_max(void) { return ULONG_MAX
; }
593 /* ?max@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::max(void) */
594 float __cdecl
std_numeric_limits_float_max(void) { return FLT_MAX
; }
596 /* ?max@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::max(void) */
597 double __cdecl
std_numeric_limits_double_max(void) { return DBL_MAX
; }
599 /* ?max@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::max(void) */
600 LDOUBLE __cdecl
std_numeric_limits_long_double_max(void) { return LDBL_MAX
; }
602 /* ?max@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::max(void) */
603 __int64 __cdecl
std_numeric_limits_int64_max(void) { return I64_MAX
; }
605 /* ?max@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::max(void) */
606 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_max(void) { return UI64_MAX
; }
608 /* ?max@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::max(void) */
609 BOOLEAN __cdecl
std_numeric_limits_bool_max(void) { return TRUE
; }
611 /* ?max@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::max(void) */
612 WCHAR __cdecl
std_numeric_limits_wchar_t_max(void) { return USHRT_MAX
; }
614 /* ?min@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::min(void) */
615 signed char __cdecl
std_numeric_limits_signed_char_min(void) { return SCHAR_MIN
; }
617 /* ?min@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::min(void) */
618 char __cdecl
std_numeric_limits_char_min(void) { return CHAR_MIN
; }
620 /* ?min@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::min(void) */
621 unsigned char __cdecl
std_numeric_limits_unsigned_char_min(void) { return 0; }
623 /* ?min@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::min(void) */
624 short __cdecl
std_numeric_limits_short_min(void) { return SHRT_MIN
; }
626 /* ?min@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::min(void) */
627 unsigned short __cdecl
std_numeric_limits_unsigned_short_min(void) { return 0; }
629 /* ?min@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::min(void) */
630 int __cdecl
std_numeric_limits_int_min(void) { return INT_MIN
; }
632 /* ?min@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::min(void) */
633 unsigned int __cdecl
std_numeric_limits_unsigned_int_min(void) { return 0; }
635 /* ?min@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::min(void) */
636 LONG __cdecl
std_numeric_limits_long_min(void) { return LONG_MIN
; }
638 /* ?min@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::min(void) */
639 ULONG __cdecl
std_numeric_limits_unsigned_long_min(void) { return 0; }
641 /* ?min@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::min(void) */
642 float __cdecl
std_numeric_limits_float_min(void) { return FLT_MIN
; }
644 /* ?min@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::min(void) */
645 double __cdecl
std_numeric_limits_double_min(void) { return DBL_MIN
; }
647 /* ?min@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::min(void) */
648 LDOUBLE __cdecl
std_numeric_limits_long_double_min(void) { return LDBL_MIN
; }
650 /* ?min@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::min(void) */
651 __int64 __cdecl
std_numeric_limits_int64_min(void) { return I64_MIN
; }
653 /* ?min@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::min(void) */
654 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_min(void) { return 0; }
656 /* ?min@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::min(void) */
657 BOOLEAN __cdecl
std_numeric_limits_bool_min(void) { return FALSE
; }
659 /* ?min@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::min(void) */
660 WCHAR __cdecl
std_numeric_limits_wchar_t_min(void) { return 0; }
662 /* ?quiet_NaN@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::quiet_NaN(void) */
663 signed char __cdecl
std_numeric_limits_signed_char_quiet_NaN(void) { return 0; }
665 /* ?quiet_NaN@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::quiet_NaN(void) */
666 char __cdecl
std_numeric_limits_char_quiet_NaN(void) { return 0; }
668 /* ?quiet_NaN@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::quiet_NaN(void) */
669 unsigned char __cdecl
std_numeric_limits_unsigned_char_quiet_NaN(void) { return 0; }
671 /* ?quiet_NaN@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::quiet_NaN(void) */
672 short __cdecl
std_numeric_limits_short_quiet_NaN(void) { return 0; }
674 /* ?quiet_NaN@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::quiet_NaN(void) */
675 unsigned short __cdecl
std_numeric_limits_unsigned_short_quiet_NaN(void) { return 0; }
677 /* ?quiet_NaN@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::quiet_NaN(void) */
678 int __cdecl
std_numeric_limits_int_quiet_NaN(void) { return 0; }
680 /* ?quiet_NaN@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::quiet_NaN(void) */
681 unsigned int __cdecl
std_numeric_limits_unsigned_int_quiet_NaN(void) { return 0; }
683 /* ?quiet_NaN@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::quiet_NaN(void) */
684 LONG __cdecl
std_numeric_limits_long_quiet_NaN(void) { return 0; }
686 /* ?quiet_NaN@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::quiet_NaN(void) */
687 ULONG __cdecl
std_numeric_limits_unsigned_long_quiet_NaN(void) { return 0; }
689 /* ?quiet_NaN@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::quiet_NaN(void) */
690 float __cdecl
std_numeric_limits_float_quiet_NaN(void) { return *(float *)&_FNan
; }
692 /* ?quiet_NaN@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::quiet_NaN(void) */
693 double __cdecl
std_numeric_limits_double_quiet_NaN(void) { return *(double *)&_Nan
; }
695 /* ?quiet_NaN@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::quiet_NaN(void) */
696 LDOUBLE __cdecl
std_numeric_limits_long_double_quiet_NaN(void) { return *(LDOUBLE
*)&_LNan
; }
698 /* ?quiet_NaN@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::quiet_NaN(void) */
699 __int64 __cdecl
std_numeric_limits_int64_quiet_NaN(void) { return 0; }
701 /* ?quiet_NaN@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::quiet_NaN(void) */
702 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_quiet_NaN(void) { return 0; }
704 /* ?quiet_NaN@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::quiet_NaN(void) */
705 BOOLEAN __cdecl
std_numeric_limits_bool_quiet_NaN(void) { return FALSE
; }
707 /* ?quiet_NaN@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::quiet_NaN(void) */
708 WCHAR __cdecl
std_numeric_limits_wchar_t_quiet_NaN(void) { return 0; }
710 /* ?round_error@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::round_error(void) */
711 signed char __cdecl
std_numeric_limits_signed_char_round_error(void) { return 0; }
713 /* ?round_error@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::round_error(void) */
714 char __cdecl
std_numeric_limits_char_round_error(void) { return 0; }
716 /* ?round_error@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::round_error(void) */
717 unsigned char __cdecl
std_numeric_limits_unsigned_char_round_error(void) { return 0; }
719 /* ?round_error@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::round_error(void) */
720 short __cdecl
std_numeric_limits_short_round_error(void) { return 0; }
722 /* ?round_error@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::round_error(void) */
723 unsigned short __cdecl
std_numeric_limits_unsigned_short_round_error(void) { return 0; }
725 /* ?round_error@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::round_error(void) */
726 int __cdecl
std_numeric_limits_int_round_error(void) { return 0; }
728 /* ?round_error@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::round_error(void) */
729 unsigned int __cdecl
std_numeric_limits_unsigned_int_round_error(void) { return 0; }
731 /* ?round_error@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::round_error(void) */
732 LONG __cdecl
std_numeric_limits_long_round_error(void) { return 0; }
734 /* ?round_error@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::round_error(void) */
735 ULONG __cdecl
std_numeric_limits_unsigned_long_round_error(void) { return 0; }
737 /* ?round_error@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::round_error(void) */
738 float __cdecl
std_numeric_limits_float_round_error(void) { return 0.5; }
740 /* ?round_error@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::round_error(void) */
741 double __cdecl
std_numeric_limits_double_round_error(void) { return 0.5; }
743 /* ?round_error@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::round_error(void) */
744 LDOUBLE __cdecl
std_numeric_limits_long_double_round_error(void) { return 0.5; }
746 /* ?round_error@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::round_error(void) */
747 __int64 __cdecl
std_numeric_limits_int64_round_error(void) { return 0; }
749 /* ?round_error@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::round_error(void) */
750 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_round_error(void) { return 0; }
752 /* ?round_error@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::round_error(void) */
753 BOOLEAN __cdecl
std_numeric_limits_bool_round_error(void) { return FALSE
; }
755 /* ?round_error@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::round_error(void) */
756 WCHAR __cdecl
std_numeric_limits_wchar_t_round_error(void) { return 0; }
758 /* ?signaling_NaN@?$numeric_limits@C@std@@SACXZ -> public: static signed char __cdecl std::numeric_limits<signed char>::signaling_NaN(void) */
759 signed char __cdecl
std_numeric_limits_signed_char_signaling_NaN(void) { return 0; }
761 /* ?signaling_NaN@?$numeric_limits@D@std@@SADXZ -> public: static char __cdecl std::numeric_limits<char>::signaling_NaN(void) */
762 char __cdecl
std_numeric_limits_char_signaling_NaN(void) { return 0; }
764 /* ?signaling_NaN@?$numeric_limits@E@std@@SAEXZ -> public: static unsigned char __cdecl std::numeric_limits<unsigned char>::signaling_NaN(void) */
765 unsigned char __cdecl
std_numeric_limits_unsigned_char_signaling_NaN(void) { return 0; }
767 /* ?signaling_NaN@?$numeric_limits@F@std@@SAFXZ -> public: static short __cdecl std::numeric_limits<short>::signaling_NaN(void) */
768 short __cdecl
std_numeric_limits_short_signaling_NaN(void) { return 0; }
770 /* ?signaling_NaN@?$numeric_limits@G@std@@SAGXZ -> public: static unsigned short __cdecl std::numeric_limits<unsigned short>::signaling_NaN(void) */
771 unsigned short __cdecl
std_numeric_limits_unsigned_short_signaling_NaN(void) { return 0; }
773 /* ?signaling_NaN@?$numeric_limits@H@std@@SAHXZ -> public: static int __cdecl std::numeric_limits<int>::signaling_NaN(void) */
774 int __cdecl
std_numeric_limits_int_signaling_NaN(void) { return 0; }
776 /* ?signaling_NaN@?$numeric_limits@I@std@@SAIXZ -> public: static unsigned int __cdecl std::numeric_limits<unsigned int>::signaling_NaN(void) */
777 unsigned int __cdecl
std_numeric_limits_unsigned_int_signaling_NaN(void) { return 0; }
779 /* ?signaling_NaN@?$numeric_limits@J@std@@SAJXZ -> public: static long __cdecl std::numeric_limits<long>::signaling_NaN(void) */
780 LONG __cdecl
std_numeric_limits_long_signaling_NaN(void) { return 0; }
782 /* ?signaling_NaN@?$numeric_limits@K@std@@SAKXZ -> public: static unsigned long __cdecl std::numeric_limits<unsigned long>::signaling_NaN(void) */
783 ULONG __cdecl
std_numeric_limits_unsigned_long_signaling_NaN(void) { return 0; }
785 /* ?signaling_NaN@?$numeric_limits@M@std@@SAMXZ -> public: static float __cdecl std::numeric_limits<float>::signaling_NaN(void) */
786 float __cdecl
std_numeric_limits_float_signaling_NaN(void) { return *(float *)&_FSnan
; }
788 /* ?signaling_NaN@?$numeric_limits@N@std@@SANXZ -> public: static double __cdecl std::numeric_limits<double>::signaling_NaN(void) */
789 double __cdecl
std_numeric_limits_double_signaling_NaN(void) { return *(double *)&_Snan
; }
791 /* ?signaling_NaN@?$numeric_limits@O@std@@SAOXZ -> public: static long double __cdecl std::numeric_limits<long double>::signaling_NaN(void) */
792 LDOUBLE __cdecl
std_numeric_limits_long_double_signaling_NaN(void) { return *(LDOUBLE
*)&_LSnan
; }
794 /* ?signaling_NaN@?$numeric_limits@_J@std@@SA_JXZ -> public: static __int64 __cdecl std::numeric_limits<__int64>::signaling_NaN(void) */
795 __int64 __cdecl
std_numeric_limits_int64_signaling_NaN(void) { return 0; }
797 /* ?signaling_NaN@?$numeric_limits@_K@std@@SA_KXZ -> public: static unsigned __int64 __cdecl std::numeric_limits<unsigned __int64>::signaling_NaN(void) */
798 unsigned __int64 __cdecl
std_numeric_limits_unsigned_int64_signaling_NaN(void) { return 0; }
800 /* ?signaling_NaN@?$numeric_limits@_N@std@@SA_NXZ -> public: static bool __cdecl std::numeric_limits<bool>::signaling_NaN(void) */
801 BOOLEAN __cdecl
std_numeric_limits_bool_signaling_NaN(void) { return FALSE
; }
803 /* ?signaling_NaN@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::signaling_NaN(void) */
804 WCHAR __cdecl
std_numeric_limits_wchar_t_signaling_NaN(void) { return 0; }
806 /* ??4?$_Ctraits@M@std@@QAEAAV01@ABV01@@Z -> public: class std::_Ctraits<float> & __thiscall std::_Ctraits<float>::operator=(class std::_Ctraits<float> const &) */
807 /* ??4?$_Ctraits@M@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::_Ctraits<float> & __ptr64 __cdecl std::_Ctraits<float>::operator=(class std::_Ctraits<float> const & __ptr64) __ptr64 */
808 /* ??4?$_Ctraits@N@std@@QAEAAV01@ABV01@@Z -> public: class std::_Ctraits<double> & __thiscall std::_Ctraits<double>::operator=(class std::_Ctraits<double> const &) */
809 /* ??4?$_Ctraits@N@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::_Ctraits<double> & __ptr64 __cdecl std::_Ctraits<double>::operator=(class std::_Ctraits<double> const & __ptr64) __ptr64 */
810 /* ??4?$_Ctraits@O@std@@QAEAAV01@ABV01@@Z -> public: class std::_Ctraits<long double> & __thiscall std::_Ctraits<long double>::operator=(class std::_Ctraits<long double> const &) */
811 /* ??4?$_Ctraits@O@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::_Ctraits<long double> & __ptr64 __cdecl std::_Ctraits<long double>::operator=(class std::_Ctraits<long double> const & __ptr64) __ptr64 */
812 DEFINE_THISCALL_WRAPPER( std_Ctraits_op_assign
, 8 )
813 std_Ctraits
* __thiscall
std_Ctraits_op_assign( std_Ctraits
*this, std_Ctraits
*right
)
818 /* ?atan2@?$_Ctraits@M@std@@SAMMM@Z -> public: static float __cdecl std::_Ctraits<float>::atan2(float,float) */
819 float __cdecl
std_Ctraits_float_atan2( float y
, float x
) { return atan2f( y
, x
); }
821 /* ?atan2@?$_Ctraits@N@std@@SANNN@Z -> public: static double __cdecl std::_Ctraits<double>::atan2(double,double) */
822 double __cdecl
std_Ctraits_double_atan2( double y
, double x
) { return atan2( y
, x
); }
824 /* ?atan2@?$_Ctraits@O@std@@SAOOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::atan2(long double,long double) */
825 LDOUBLE __cdecl
std_Ctraits_long_double_atan2( LDOUBLE y
, LDOUBLE x
) { return atan2( y
, x
); }
827 /* ?cos@?$_Ctraits@M@std@@SAMM@Z -> public: static float __cdecl std::_Ctraits<float>::cos(float) */
828 float __cdecl
std_Ctraits_float_cos( float x
) { return cosf( x
); }
830 /* ?cos@?$_Ctraits@N@std@@SANN@Z -> public: static double __cdecl std::_Ctraits<double>::cos(double) */
831 double __cdecl
std_Ctraits_double_cos( double x
) { return cos( x
); }
833 /* ?cos@?$_Ctraits@O@std@@SAOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::cos(long double) */
834 LDOUBLE __cdecl
std_Ctraits_long_double_cos( LDOUBLE x
) { return cos( x
); }
836 /* ?exp@?$_Ctraits@M@std@@SAMM@Z -> public: static float __cdecl std::_Ctraits<float>::exp(float) */
837 float __cdecl
std_Ctraits_float_exp( float x
) { return expf( x
); }
839 /* ?exp@?$_Ctraits@N@std@@SANN@Z -> public: static double __cdecl std::_Ctraits<double>::exp(double) */
840 double __cdecl
std_Ctraits_double_exp( double x
) { return exp( x
); }
842 /* ?exp@?$_Ctraits@O@std@@SAOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::exp(long double) */
843 LDOUBLE __cdecl
std_Ctraits_long_double_exp( LDOUBLE x
) { return exp( x
); }
845 /* ?ldexp@?$_Ctraits@M@std@@SAMMH@Z -> public: static float __cdecl std::_Ctraits<float>::ldexp(float,int) */
846 float __cdecl
std_Ctraits_float_ldexp( float x
, int y
) { return ldexpf( x
, y
); }
848 /* ?ldexp@?$_Ctraits@N@std@@SANNH@Z -> public: static double __cdecl std::_Ctraits<double>::ldexp(double,int) */
849 double __cdecl
std_Ctraits_double_ldexp( double x
, int y
) { return ldexp( x
, y
); }
851 /* ?ldexp@?$_Ctraits@O@std@@SAOOH@Z -> public: static long double __cdecl std::_Ctraits<long double>::ldexp(long double,int) */
852 LDOUBLE __cdecl
std_Ctraits_long_double_ldexp( LDOUBLE x
, int y
) { return ldexp( x
, y
); }
854 /* ?log@?$_Ctraits@M@std@@SAMM@Z -> public: static float __cdecl std::_Ctraits<float>::log(float) */
855 float __cdecl
std_Ctraits_float_log( float x
) { return logf( x
); }
857 /* ?log@?$_Ctraits@N@std@@SANN@Z -> public: static double __cdecl std::_Ctraits<double>::log(double) */
858 double __cdecl
std_Ctraits_double_log( double x
) { return log( x
); }
860 /* ?log@?$_Ctraits@O@std@@SAOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::log(long double) */
861 LDOUBLE __cdecl
std_Ctraits_long_double_log( LDOUBLE x
) { return log( x
); }
863 /* ?pow@?$_Ctraits@M@std@@SAMMM@Z -> public: static float __cdecl std::_Ctraits<float>::pow(float,float) */
864 float __cdecl
std_Ctraits_float_pow( float x
, float y
) { return powf( x
, y
); }
866 /* ?pow@?$_Ctraits@N@std@@SANNN@Z -> public: static double __cdecl std::_Ctraits<double>::pow(double,double) */
867 double __cdecl
std_Ctraits_double_pow( double x
, double y
) { return pow( x
, y
); }
869 /* ?pow@?$_Ctraits@O@std@@SAOOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::pow(long double,long double) */
870 LDOUBLE __cdecl
std_Ctraits_long_double_pow( LDOUBLE x
, LDOUBLE y
) { return pow( x
, y
); }
872 /* ?sin@?$_Ctraits@M@std@@SAMM@Z -> public: static float __cdecl std::_Ctraits<float>::sin(float) */
873 float __cdecl
std_Ctraits_float_sin( float x
) { return sinf( x
); }
875 /* ?sin@?$_Ctraits@N@std@@SANN@Z -> public: static double __cdecl std::_Ctraits<double>::sin(double) */
876 double __cdecl
std_Ctraits_double_sin( double x
) { return sin( x
); }
878 /* ?sin@?$_Ctraits@O@std@@SAOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::sin(long double) */
879 LDOUBLE __cdecl
std_Ctraits_long_double_sin( LDOUBLE x
) { return sin( x
); }
881 /* ?sqrt@?$_Ctraits@M@std@@SAMM@Z -> public: static float __cdecl std::_Ctraits<float>::sqrt(float) */
882 float __cdecl
std_Ctraits_float_sqrt( float x
) { return sqrtf( x
); }
884 /* ?sqrt@?$_Ctraits@N@std@@SANN@Z -> public: static double __cdecl std::_Ctraits<double>::sqrt(double) */
885 double __cdecl
std_Ctraits_double_sqrt( double x
) { return sqrt( x
); }
887 /* ?sqrt@?$_Ctraits@O@std@@SAOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::sqrt(long double) */
888 LDOUBLE __cdecl
std_Ctraits_long_double_sqrt( LDOUBLE x
) { return sqrt( x
); }
890 /* ?tan@?$_Ctraits@M@std@@SAMM@Z -> public: static float __cdecl std::_Ctraits<float>::tan(float) */
891 float __cdecl
std_Ctraits_float_tan( float x
) { return tanf( x
); }
893 /* ?tan@?$_Ctraits@N@std@@SANN@Z -> public: static double __cdecl std::_Ctraits<double>::tan(double) */
894 double __cdecl
std_Ctraits_double_tan( double x
) { return tan( x
); }
896 /* ?tan@?$_Ctraits@O@std@@SAOO@Z -> public: static long double __cdecl std::_Ctraits<long double>::tan(long double) */
897 LDOUBLE __cdecl
std_Ctraits_long_double_tan( LDOUBLE x
) { return tan( x
); }
899 /* ??0?$_Complex_base@MU_C_float_complex@@@std@@QAE@ABM0@Z */
900 /* ??0?$_Complex_base@MU_C_float_complex@@@std@@QEAA@AEBM0@Z */
901 /* ??0?$complex@M@std@@QAE@ABM0@Z */
902 /* ??0?$complex@M@std@@QEAA@AEBM0@Z */
903 DEFINE_THISCALL_WRAPPER(complex_float_ctor
, 12)
904 complex_float
* __thiscall
complex_float_ctor(complex_float
*this, const float *real
, const float *imag
)
911 /* ??0?$complex@M@std@@QAE@ABU_C_float_complex@@@Z */
912 /* ??0?$complex@M@std@@QEAA@AEBU_C_float_complex@@@Z */
913 DEFINE_THISCALL_WRAPPER(complex_float_ctor_float
, 8)
914 complex_float
* __thiscall
complex_float_ctor_float(complex_float
*this, const complex_float
*c
)
916 this->real
= c
->real
;
917 this->imag
= c
->imag
;
921 /* ??0?$complex@M@std@@QAE@ABU_C_double_complex@@@Z */
922 /* ??0?$complex@M@std@@QEAA@AEBU_C_double_complex@@@Z */
923 /* ??0?$complex@M@std@@QAE@ABU_C_ldouble_complex@@@Z */
924 /* ??0?$complex@M@std@@QEAA@AEBU_C_ldouble_complex@@@Z */
925 /* ??0?$complex@M@std@@QAE@ABV?$complex@N@1@@Z */
926 /* ??0?$complex@M@std@@QEAA@AEBV?$complex@N@1@@Z */
927 /* ??0?$complex@M@std@@QAE@ABV?$complex@O@1@@Z */
928 /* ??0?$complex@M@std@@QEAA@AEBV?$complex@O@1@@Z */
929 DEFINE_THISCALL_WRAPPER(complex_float_ctor_double
, 8)
930 complex_float
* __thiscall
complex_float_ctor_double(complex_float
*this, const complex_double
*c
)
932 this->real
= c
->real
;
933 this->imag
= c
->imag
;
937 /* ??_F?$complex@M@std@@QAEXXZ */
938 /* ??_F?$complex@M@std@@QEAAXXZ */
939 DEFINE_THISCALL_WRAPPER(complex_float_ctor_def
, 4)
940 complex_float
* __thiscall
complex_float_ctor_def(complex_float
*this)
942 this->real
= this->imag
= 0;
946 /* ??$?8M@std@@YA_NABMABV?$complex@M@0@@Z */
947 /* ??$?8M@std@@YA_NAEBMAEBV?$complex@M@0@@Z */
948 MSVCP_bool __cdecl
complex_float_equal_fc(const float *l
, const complex_float
*r
)
950 return *l
==r
->real
&& r
->imag
==0;
953 /* ??$?8M@std@@YA_NABV?$complex@M@0@0@Z */
954 /* ??$?8M@std@@YA_NAEBV?$complex@M@0@0@Z */
955 MSVCP_bool __cdecl
complex_float_equal(const complex_float
*l
, const complex_float
*r
)
957 return l
->real
==r
->real
&& l
->imag
==r
->imag
;
960 /* ??$?8M@std@@YA_NABV?$complex@M@0@ABM@Z */
961 /* ??$?8M@std@@YA_NAEBV?$complex@M@0@AEBM@Z */
962 MSVCP_bool __cdecl
complex_float_equal_cf(const complex_float
*l
, const float *r
)
964 return l
->real
==*r
&& l
->imag
==0;
967 /* ??$?9M@std@@YA_NABMABV?$complex@M@0@@Z */
968 /* ??$?9M@std@@YA_NAEBMAEBV?$complex@M@0@@Z */
969 MSVCP_bool __cdecl
complex_float_not_equal_fc(const float *l
, const complex_float
*r
)
971 return !complex_float_equal_fc(l
, r
);
974 /* ??$?9M@std@@YA_NABV?$complex@M@0@0@Z */
975 /* ??$?9M@std@@YA_NAEBV?$complex@M@0@0@Z */
976 MSVCP_bool __cdecl
complex_float_not_equal(const complex_float
*l
, const complex_float
*r
)
978 return !complex_float_equal(l
, r
);
981 /* ??$?9M@std@@YA_NABV?$complex@M@0@ABM@Z */
982 /* ??$?9M@std@@YA_NAEBV?$complex@M@0@AEBM@Z */
983 MSVCP_bool __cdecl
complex_float_not_equal_cf(const complex_float
*l
, const float *r
)
985 return !complex_float_equal_cf(l
, r
);
988 /* ??$?DM@std@@YA?AV?$complex@M@0@ABMABV10@@Z */
989 /* ??$?DM@std@@YA?AV?$complex@M@0@AEBMAEBV10@@Z */
990 complex_float
* __cdecl
complex_float_mult_fc(complex_float
*ret
, const float *l
, const complex_float
*r
)
992 ret
->real
= *l
* r
->real
;
993 ret
->imag
= *l
* r
->imag
;
997 /* ??$?DM@std@@YA?AV?$complex@M@0@ABV10@0@Z */
998 /* ??$?DM@std@@YA?AV?$complex@M@0@AEBV10@0@Z */
999 complex_float
* __cdecl
complex_float_mult(complex_float
*ret
, const complex_float
*l
, const complex_float
*r
)
1001 ret
->real
= l
->real
*r
->real
- l
->imag
*r
->imag
;
1002 ret
->imag
= l
->imag
*r
->real
+ l
->real
*r
->imag
;
1006 /* ??$?DM@std@@YA?AV?$complex@M@0@ABV10@ABM@Z */
1007 /* ??$?DM@std@@YA?AV?$complex@M@0@AEBV10@AEBM@Z */
1008 complex_float
* __cdecl
complex_float_mult_cf(complex_float
*ret
, const complex_float
*l
, const float *r
)
1010 ret
->real
= l
->real
* *r
;
1011 ret
->imag
= l
->imag
* *r
;
1015 /* ??$?GM@std@@YA?AV?$complex@M@0@ABMABV10@@Z */
1016 /* ??$?GM@std@@YA?AV?$complex@M@0@AEBMAEBV10@@Z */
1017 complex_float
* __cdecl
complex_float_sub_fc(complex_float
*ret
, const float *l
, const complex_float
*r
)
1019 ret
->real
= *l
- r
->real
;
1020 ret
->imag
= -r
->imag
;
1024 /* ??$?GM@std@@YA?AV?$complex@M@0@ABV10@0@Z */
1025 /* ??$?GM@std@@YA?AV?$complex@M@0@AEBV10@0@Z */
1026 complex_float
* __cdecl
complex_float_sub(complex_float
*ret
, const complex_float
*l
, const complex_float
*r
)
1028 ret
->real
= l
->real
- r
->real
;
1029 ret
->imag
= l
->imag
- r
->imag
;
1033 /* ??$?GM@std@@YA?AV?$complex@M@0@ABV10@@Z */
1034 /* ??$?GM@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1035 complex_float
* __cdecl
complex_float_neg(complex_float
*ret
, const complex_float
*c
)
1037 ret
->real
= -c
->real
;
1038 ret
->imag
= -c
->imag
;
1042 /* ??$?GM@std@@YA?AV?$complex@M@0@ABV10@ABM@Z */
1043 /* ??$?GM@std@@YA?AV?$complex@M@0@AEBV10@AEBM@Z */
1044 complex_float
* __cdecl
complex_float_sub_cf(complex_float
*ret
, const complex_float
*l
, const float *r
)
1046 ret
->real
= l
->real
- *r
;
1047 ret
->imag
= l
->imag
;
1051 /* ??$?HM@std@@YA?AV?$complex@M@0@ABMABV10@@Z */
1052 /* ??$?HM@std@@YA?AV?$complex@M@0@AEBMAEBV10@@Z */
1053 complex_float
* __cdecl
complex_float_add_fc(complex_float
*ret
, const float *l
, const complex_float
*r
)
1055 ret
->real
= *l
+ r
->real
;
1056 ret
->imag
= r
->imag
;
1060 /* ??$?HM@std@@YA?AV?$complex@M@0@ABV10@0@Z */
1061 /* ??$?HM@std@@YA?AV?$complex@M@0@AEBV10@0@Z */
1062 complex_float
* __cdecl
complex_float_add(complex_float
*ret
, const complex_float
*l
, const complex_float
*r
)
1064 ret
->real
= l
->real
+ r
->real
;
1065 ret
->imag
= l
->imag
+ r
->imag
;
1069 /* ??$?HM@std@@YA?AV?$complex@M@0@ABV10@@Z */
1070 /* ??$?HM@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1071 complex_float
* __cdecl
complex_float_plus(complex_float
*ret
, const complex_float
*c
)
1077 /* ??$?HM@std@@YA?AV?$complex@M@0@ABV10@ABM@Z */
1078 /* ??$?HM@std@@YA?AV?$complex@M@0@AEBV10@AEBM@Z */
1079 complex_float
* __cdecl
complex_float_add_cf(complex_float
*ret
, const complex_float
*l
, const float *r
)
1081 ret
->real
= l
->real
+ *r
;
1082 ret
->imag
= l
->imag
;
1086 /* ??$?KM@std@@YA?AV?$complex@M@0@ABV10@0@Z */
1087 /* ??$?KM@std@@YA?AV?$complex@M@0@AEBV10@0@Z */
1088 complex_float
* __cdecl
complex_float_div(complex_float
*ret
, const complex_float
*l
, const complex_float
*r
)
1091 if((!r
->real
&& !r
->imag
) || _isnan(l
->real
) || _isnan(l
->imag
)
1092 || _isnan(r
->real
) || _isnan(r
->imag
)) {
1093 ret
->real
= std_numeric_limits_float_quiet_NaN();
1094 ret
->imag
= ret
->real
;
1098 if (fabsf(r
->real
) >= fabsf(r
->imag
)) {
1099 tmp
= r
->imag
/ r
->real
;
1100 den
= r
->real
+ r
->imag
*tmp
;
1101 ret
->real
= (l
->real
+ l
->imag
*tmp
) / den
;
1102 ret
->imag
= (l
->imag
- l
->real
*tmp
) / den
;
1104 tmp
= r
->real
/ r
->imag
;
1105 den
= r
->real
*tmp
+ r
->imag
;
1106 ret
->real
= (l
->real
*tmp
+ l
->imag
) / den
;
1107 ret
->imag
= (l
->imag
*tmp
- l
->real
) / den
;
1112 /* ??$?KM@std@@YA?AV?$complex@M@0@ABMABV10@@Z */
1113 /* ??$?KM@std@@YA?AV?$complex@M@0@AEBMAEBV10@@Z */
1114 complex_float
* __cdecl
complex_float_div_fc(complex_float
*ret
, const float *l
, const complex_float
*r
)
1116 complex_float c
= {*l
, 0};
1117 return complex_float_div(ret
, &c
, r
);
1120 /* ??$?KM@std@@YA?AV?$complex@M@0@ABV10@ABM@Z */
1121 /* ??$?KM@std@@YA?AV?$complex@M@0@AEBV10@AEBM@Z */
1122 complex_float
* __cdecl
complex_float_div_cf(complex_float
*ret
, const complex_float
*l
, const float *r
)
1124 ret
->real
= l
->real
/ *r
;
1125 ret
->imag
= l
->imag
/ *r
;
1129 /* ??4?$_Complex_base@MU_C_float_complex@@@std@@QAEAAV01@ABV01@@Z */
1130 /* ??4?$_Complex_base@MU_C_float_complex@@@std@@QEAAAEAV01@AEBV01@@Z */
1131 /* ??4?$complex@M@std@@QAEAAV01@ABV01@@Z */
1132 /* ??4?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1133 DEFINE_THISCALL_WRAPPER(complex_float_assign
, 8)
1134 complex_float
* __thiscall
complex_float_assign(complex_float
*this, const complex_float
*r
)
1140 /* ??4?$complex@M@std@@QAEAAV01@ABM@Z */
1141 /* ??4?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1142 DEFINE_THISCALL_WRAPPER(complex_float_assign_float
, 8)
1143 complex_float
* __thiscall
complex_float_assign_float(complex_float
*this, const float *r
)
1150 /* ??X?$complex@M@std@@QAEAAV01@ABM@Z */
1151 /* ??X?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1152 DEFINE_THISCALL_WRAPPER(complex_float_mult_assign_float
, 8)
1153 complex_float
* __thiscall
complex_float_mult_assign_float(complex_float
*this, const float *r
)
1160 /* ??X?$complex@M@std@@QAEAAV01@ABV01@@Z */
1161 /* ??X?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1162 DEFINE_THISCALL_WRAPPER(complex_float_mult_assign
, 8)
1163 complex_float
* __thiscall
complex_float_mult_assign(complex_float
*this, const complex_float
*r
)
1167 tmp
.real
= this->real
*r
->real
- this->imag
*r
->imag
;
1168 tmp
.imag
= this->real
*r
->imag
+ this->imag
*r
->real
;
1173 /* ??Y?$complex@M@std@@QAEAAV01@ABM@Z */
1174 /* ??Y?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1175 DEFINE_THISCALL_WRAPPER(complex_float_add_assign_float
, 8)
1176 complex_float
* __thiscall
complex_float_add_assign_float(complex_float
*this, const float *r
)
1182 /* ??Y?$complex@M@std@@QAEAAV01@ABV01@@Z */
1183 /* ??Y?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1184 DEFINE_THISCALL_WRAPPER(complex_float_add_assign
, 8)
1185 complex_float
* __thiscall
complex_float_add_assign(complex_float
*this, const complex_float
*r
)
1187 this->real
+= r
->real
;
1188 this->imag
+= r
->imag
;
1192 /* ??Z?$complex@M@std@@QAEAAV01@ABM@Z */
1193 /* ??Z?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1194 DEFINE_THISCALL_WRAPPER(complex_float_sub_assign_float
, 8)
1195 complex_float
* __thiscall
complex_float_sub_assign_float(complex_float
*this, const float *r
)
1201 /* ??Z?$complex@M@std@@QAEAAV01@ABV01@@Z */
1202 /* ??Z?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1203 DEFINE_THISCALL_WRAPPER(complex_float_sub_assign
, 8)
1204 complex_float
* __thiscall
complex_float_sub_assign(complex_float
*this, const complex_float
*r
)
1206 this->real
-= r
->real
;
1207 this->imag
-= r
->imag
;
1211 /* ??_0?$complex@M@std@@QAEAAV01@ABM@Z */
1212 /* ??_0?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1213 DEFINE_THISCALL_WRAPPER(complex_float_div_assign_float
, 8)
1214 complex_float
* __thiscall
complex_float_div_assign_float(complex_float
*this, const float *r
)
1221 /* ??_0?$complex@M@std@@QAEAAV01@ABV01@@Z */
1222 /* ??_0?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1223 DEFINE_THISCALL_WRAPPER(complex_float_div_assign
, 8)
1224 complex_float
* __thiscall
complex_float_div_assign(complex_float
*this, const complex_float
*r
)
1226 complex_float tmp
= *this;
1227 return complex_float_div(this, &tmp
, r
);
1230 /* ??$arg@M@std@@YAMABV?$complex@M@0@@Z */
1231 /* ??$arg@M@std@@YAMAEBV?$complex@M@0@@Z */
1232 float __cdecl
complex_float_arg(const complex_float
*c
)
1234 return atan2(c
->imag
, c
->real
);
1237 /* ??$imag@M@std@@YAMABV?$complex@M@0@@Z */
1238 /* ??$imag@M@std@@YAMAEBV?$complex@M@0@@Z */
1239 float __cdecl
complex_float_imag(const complex_float
*c
)
1244 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QAEMABM@Z */
1245 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QEAAMAEBM@Z */
1246 DEFINE_THISCALL_WRAPPER(complex_float_imag_set
, 8)
1247 float __thiscall
complex_float_imag_set(complex_float
*this, const float *f
)
1249 return (this->imag
= *f
);
1252 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QBEMXZ */
1253 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QEBAMXZ */
1254 DEFINE_THISCALL_WRAPPER(complex_float_imag_get
, 4)
1255 float __thiscall
complex_float_imag_get(const complex_float
*this)
1260 /* ??$real@M@std@@YAMABV?$complex@M@0@@Z */
1261 /* ??$real@M@std@@YAMAEBV?$complex@M@0@@Z */
1262 float __cdecl
complex_float_real(const complex_float
*c
)
1267 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QAEMABM@Z */
1268 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QEAAMAEBM@Z */
1269 DEFINE_THISCALL_WRAPPER(complex_float_real_set
, 8)
1270 float __thiscall
complex_float_real_set(complex_float
*this, const float *f
)
1272 return (this->real
= *f
);
1275 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QBEMXZ */
1276 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QEBAMXZ */
1277 DEFINE_THISCALL_WRAPPER(complex_float_real_get
, 4)
1278 float __thiscall
complex_float_real_get(const complex_float
*this)
1283 /* ??$_Fabs@M@std@@YAMABV?$complex@M@0@PAH@Z */
1284 /* ??$_Fabs@M@std@@YAMAEBV?$complex@M@0@PEAH@Z */
1285 float __cdecl
complex_float__Fabs(const complex_float
*c
, int *scale
)
1289 ret
= hypotf(c
->real
, c
->imag
);
1290 if(_isnan(ret
) || ret
==0) {
1292 }else if(ret
>= 1) {
1303 /* ??$abs@M@std@@YAMABV?$complex@M@0@@Z */
1304 /* ??$abs@M@std@@YAMAEBV?$complex@M@0@@Z */
1305 float __cdecl
complex_float_abs(const complex_float
*c
)
1307 return hypotf(c
->real
, c
->imag
);
1310 /* ??$conj@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1311 /* ??$conj@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1312 complex_float
* __cdecl
complex_float_conj(complex_float
*ret
, const complex_float
*c
)
1314 ret
->real
= c
->real
;
1315 ret
->imag
= -c
->imag
;
1319 /* ??$cos@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1320 /* ??$cos@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1321 complex_float
* __cdecl
complex_float_cos(complex_float
*ret
, const complex_float
*c
)
1323 ret
->real
= cos(c
->real
)*cosh(c
->imag
);
1324 ret
->imag
= -sin(c
->real
)*sinh(c
->imag
);
1328 /* ??$sin@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1329 /* ??$sin@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1330 complex_float
* __cdecl
complex_float_sin(complex_float
*ret
, const complex_float
*c
)
1332 ret
->real
= sin(c
->real
)*cosh(c
->imag
);
1333 ret
->imag
= cos(c
->real
)*sinh(c
->imag
);
1337 /* ??$tan@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1338 /* ??$tan@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1339 complex_float
* __cdecl
complex_float_tan(complex_float
*ret
, const complex_float
*c
)
1341 double denom
= cos(2*c
->real
) + cosh(2*c
->imag
);
1342 ret
->real
= sin(2*c
->real
) / denom
;
1343 ret
->imag
= sinh(2*c
->imag
) / denom
;
1347 /* ??$cosh@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1348 /* ??$cosh@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1349 complex_float
* __cdecl
complex_float_cosh(complex_float
*ret
, const complex_float
*c
)
1351 ret
->real
= cosh(c
->real
)*cos(c
->imag
);
1352 ret
->imag
= sinh(c
->real
)*sin(c
->imag
);
1356 /* ??$sinh@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1357 /* ??$sinh@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1358 complex_float
* __cdecl
complex_float_sinh(complex_float
*ret
, const complex_float
*c
)
1360 ret
->real
= sinh(c
->real
)*cos(c
->imag
);
1361 ret
->imag
= cosh(c
->real
)*sin(c
->imag
);
1365 /* ??$tanh@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1366 /* ??$tanh@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1367 complex_float
* __cdecl
complex_float_tanh(complex_float
*ret
, const complex_float
*c
)
1371 ret
->real
= -c
->imag
;
1372 ret
->imag
= c
->real
;
1373 complex_float_tan(&tmp
, ret
);
1374 ret
->real
= tmp
.imag
;
1375 ret
->imag
= -tmp
.real
;
1379 /* ??$exp@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1380 /* ??$exp@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1381 complex_float
* __cdecl
complex_float_exp(complex_float
*ret
, const complex_float
*c
)
1383 ret
->real
= ret
->imag
= exp(c
->real
);
1384 ret
->real
*= cos(c
->imag
);
1385 ret
->imag
*= sin(c
->imag
);
1389 /* ??$log@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1390 /* ??$log@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1391 complex_float
* __cdecl
complex_float_log(complex_float
*ret
, const complex_float
*c
)
1393 ret
->real
= log(complex_float_abs(c
));
1394 ret
->imag
= complex_float_arg(c
);
1398 /* ??$log10@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1399 /* ??$log10@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1400 complex_float
* __cdecl
complex_float_log10(complex_float
*ret
, const complex_float
*c
)
1402 complex_float_log(ret
, c
);
1403 ret
->real
*= M_LOG10E
;
1404 ret
->imag
*= M_LOG10E
;
1408 /* ??$norm@M@std@@YAMABV?$complex@M@0@@Z */
1409 /* ??$norm@M@std@@YAMAEBV?$complex@M@0@@Z */
1410 float __cdecl
complex_float_norm(const complex_float
*c
)
1412 return c
->real
*c
->real
+ c
->imag
*c
->imag
;
1415 /* ??$polar@M@std@@YA?AV?$complex@M@0@ABM0@Z */
1416 /* ??$polar@M@std@@YA?AV?$complex@M@0@AEBM0@Z */
1417 complex_float
* __cdecl
complex_float_polar_theta(complex_float
*ret
, const float *mod
, const float *theta
)
1419 ret
->real
= *mod
* cos(*theta
);
1420 ret
->imag
= *mod
* sin(*theta
);
1424 /* ??$polar@M@std@@YA?AV?$complex@M@0@ABM@Z */
1425 /* ??$polar@M@std@@YA?AV?$complex@M@0@AEBM@Z */
1426 complex_float
* __cdecl
complex_float_polar(complex_float
*ret
, const float *mod
)
1433 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABV10@0@Z */
1434 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBV10@0@Z */
1435 complex_float
* __cdecl
complex_float_pow(complex_float
*ret
, const complex_float
*l
, const complex_float
*r
)
1437 float abs
= complex_float_abs(l
), arg
= complex_float_arg(l
);
1438 float rad
= pow(abs
, r
->real
), theta
= r
->real
*arg
;
1441 rad
*= exp(-r
->imag
* arg
);
1442 theta
+= r
->imag
* log(abs
);
1445 ret
->real
= rad
* cos(theta
);
1446 ret
->imag
= rad
* sin(theta
);
1450 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABMABV10@@Z */
1451 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBMAEBV10@@Z */
1452 complex_float
* __cdecl
complex_float_pow_fc(complex_float
*ret
, const float *l
, const complex_float
*r
)
1454 complex_float c
= { *l
, 0 };
1455 return complex_float_pow(ret
, &c
, r
);
1458 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABV10@ABM@Z */
1459 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBV10@AEBM@Z */
1460 complex_float
* __cdecl
complex_float_pow_cf(complex_float
*ret
, const complex_float
*l
, const float *r
)
1462 complex_float c
= { *r
, 0 };
1463 return complex_float_pow(ret
, l
, &c
);
1466 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABV10@H@Z */
1467 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBV10@H@Z */
1468 complex_float
* __cdecl
complex_float_pow_ci(complex_float
*ret
, const complex_float
*l
, int r
)
1470 complex_float c
= *l
;
1471 complex_float unit_value
= { 1.0, 0 };
1472 complex_float_assign(ret
, &unit_value
);
1476 complex_float_div(&c
, &unit_value
, l
);
1481 complex_float_mult_assign(ret
, &c
);
1483 complex_float_mult_assign(&c
, &c
);
1489 /* ??$sqrt@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1490 /* ??$sqrt@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1491 complex_float
* __cdecl
complex_float_sqrt(complex_float
*ret
, const complex_float
*l
)
1493 complex_float c
= { 0.5, 0 };
1494 return complex_float_pow(ret
, l
, &c
);
1497 /* ??0?$_Complex_base@NU_C_double_complex@@@std@@QAE@ABN0@Z */
1498 /* ??0?$_Complex_base@NU_C_double_complex@@@std@@QEAA@AEBN0@Z */
1499 /* ??0?$_Complex_base@OU_C_ldouble_complex@@@std@@QAE@ABO0@Z */
1500 /* ??0?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAA@AEBO0@Z */
1501 /* ??0?$complex@N@std@@QAE@ABN0@Z */
1502 /* ??0?$complex@N@std@@QEAA@AEBN0@Z */
1503 /* ??0?$complex@O@std@@QAE@ABO0@Z */
1504 /* ??0?$complex@O@std@@QEAA@AEBO0@Z */
1505 DEFINE_THISCALL_WRAPPER(complex_double_ctor
, 12)
1506 complex_double
* __thiscall
complex_double_ctor(complex_double
*this, const double *real
, const double *imag
)
1513 /* ??0?$complex@N@std@@QAE@ABU_C_double_complex@@@Z */
1514 /* ??0?$complex@N@std@@QEAA@AEBU_C_double_complex@@@Z */
1515 /* ??0?$complex@N@std@@QAE@ABU_C_ldouble_complex@@@Z */
1516 /* ??0?$complex@N@std@@QEAA@AEBU_C_ldouble_complex@@@Z */
1517 /* ??0?$complex@N@std@@QAE@ABV?$complex@O@1@@Z */
1518 /* ??0?$complex@N@std@@QEAA@AEBV?$complex@O@1@@Z */
1519 /* ??0?$complex@O@std@@QAE@ABU_C_ldouble_complex@@@Z */
1520 /* ??0?$complex@O@std@@QEAA@AEBU_C_ldouble_complex@@@Z */
1521 /* ??0?$complex@O@std@@QAE@ABV?$complex@N@1@@Z */
1522 /* ??0?$complex@O@std@@QEAA@AEBV?$complex@N@1@@Z */
1523 DEFINE_THISCALL_WRAPPER(complex_double_ctor_double
, 8)
1524 complex_double
* __thiscall
complex_double_ctor_double(complex_double
*this, const complex_double
*c
)
1526 this->real
= c
->real
;
1527 this->imag
= c
->imag
;
1531 /* ??0?$complex@N@std@@QAE@ABV?$complex@M@1@@Z */
1532 /* ??0?$complex@N@std@@QEAA@AEBV?$complex@M@1@@Z */
1533 /* ??0?$complex@O@std@@QAE@ABV?$complex@M@1@@Z */
1534 /* ??0?$complex@O@std@@QEAA@AEBV?$complex@M@1@@Z */
1535 DEFINE_THISCALL_WRAPPER(complex_double_ctor_float
, 8)
1536 complex_double
* __thiscall
complex_double_ctor_float(complex_double
*this, const complex_float
*c
)
1538 this->real
= c
->real
;
1539 this->imag
= c
->imag
;
1543 /* ??_F?$complex@N@std@@QAEXXZ */
1544 /* ??_F?$complex@N@std@@QEAAXXZ */
1545 /* ??_F?$complex@O@std@@QAEXXZ */
1546 /* ??_F?$complex@O@std@@QEAAXXZ */
1547 DEFINE_THISCALL_WRAPPER(complex_double_ctor_def
, 4)
1548 complex_double
* __thiscall
complex_double_ctor_def(complex_double
*this)
1550 this->real
= this->imag
= 0;
1554 /* ??$?8N@std@@YA_NABNABV?$complex@N@0@@Z */
1555 /* ??$?8N@std@@YA_NAEBNAEBV?$complex@N@0@@Z */
1556 /* ??$?8O@std@@YA_NABOABV?$complex@O@0@@Z */
1557 /* ??$?8O@std@@YA_NAEBOAEBV?$complex@O@0@@Z */
1558 MSVCP_bool __cdecl
complex_double_equal_dc(const double *l
, const complex_double
*r
)
1560 return *l
==r
->real
&& r
->imag
==0;
1563 /* ??$?8N@std@@YA_NABV?$complex@N@0@0@Z */
1564 /* ??$?8N@std@@YA_NAEBV?$complex@N@0@0@Z */
1565 /* ??$?8O@std@@YA_NABV?$complex@O@0@0@Z */
1566 /* ??$?8O@std@@YA_NAEBV?$complex@O@0@0@Z */
1567 MSVCP_bool __cdecl
complex_double_equal(const complex_double
*l
, const complex_double
*r
)
1569 return l
->real
==r
->real
&& l
->imag
==r
->imag
;
1572 /* ??$?8N@std@@YA_NABV?$complex@N@0@ABN@Z */
1573 /* ??$?8N@std@@YA_NAEBV?$complex@N@0@AEBN@Z */
1574 /* ??$?8O@std@@YA_NABV?$complex@O@0@ABO@Z */
1575 /* ??$?8O@std@@YA_NAEBV?$complex@O@0@AEBO@Z */
1576 MSVCP_bool __cdecl
complex_double_equal_cd(const complex_double
*l
, double *r
)
1578 return l
->real
==*r
&& l
->imag
==0;
1581 /* ??$?9N@std@@YA_NABNABV?$complex@N@0@@Z */
1582 /* ??$?9N@std@@YA_NAEBNAEBV?$complex@N@0@@Z */
1583 /* ??$?9O@std@@YA_NABOABV?$complex@O@0@@Z */
1584 /* ??$?9O@std@@YA_NAEBOAEBV?$complex@O@0@@Z */
1585 MSVCP_bool __cdecl
complex_double_not_equal_dc(const double *l
, const complex_double
*r
)
1587 return !complex_double_equal_dc(l
, r
);
1590 /* ??$?9N@std@@YA_NABV?$complex@N@0@0@Z */
1591 /* ??$?9N@std@@YA_NAEBV?$complex@N@0@0@Z */
1592 /* ??$?9O@std@@YA_NABV?$complex@O@0@0@Z */
1593 /* ??$?9O@std@@YA_NAEBV?$complex@O@0@0@Z */
1594 MSVCP_bool __cdecl
complex_double_not_equal(const complex_double
*l
, const complex_double
*r
)
1596 return !complex_double_equal(l
, r
);
1599 /* ??$?9N@std@@YA_NABV?$complex@N@0@ABN@Z */
1600 /* ??$?9N@std@@YA_NAEBV?$complex@N@0@AEBN@Z */
1601 /* ??$?9O@std@@YA_NABV?$complex@O@0@ABO@Z */
1602 /* ??$?9O@std@@YA_NAEBV?$complex@O@0@AEBO@Z */
1603 MSVCP_bool __cdecl
complex_double_not_equal_cd(const complex_double
*l
, double *r
)
1605 return !complex_double_equal_cd(l
, r
);
1608 /* ??$?DN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1609 /* ??$?DN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1610 /* ??$?DO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1611 /* ??$?DO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1612 complex_double
* __cdecl
complex_double_mult_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1614 ret
->real
= *l
* r
->real
;
1615 ret
->imag
= *l
* r
->imag
;
1619 /* ??$?DN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1620 /* ??$?DN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1621 /* ??$?DO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1622 /* ??$?DO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1623 complex_double
* __cdecl
complex_double_mult(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1625 ret
->real
= l
->real
*r
->real
- l
->imag
*r
->imag
;
1626 ret
->imag
= l
->imag
*r
->real
+ l
->real
*r
->imag
;
1630 /* ??$?DN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1631 /* ??$?DN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1632 /* ??$?DO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1633 /* ??$?DO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1634 complex_double
* __cdecl
complex_double_mult_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1636 ret
->real
= l
->real
* *r
;
1637 ret
->imag
= l
->imag
* *r
;
1641 /* ??$?GN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1642 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1643 /* ??$?GO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1644 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1645 complex_double
* __cdecl
complex_double_sub_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1647 ret
->real
= *l
- r
->real
;
1648 ret
->imag
= -r
->imag
;
1652 /* ??$?GN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1653 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1654 /* ??$?GO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1655 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1656 complex_double
* __cdecl
complex_double_sub(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1658 ret
->real
= l
->real
- r
->real
;
1659 ret
->imag
= l
->imag
- r
->imag
;
1663 /* ??$?GN@std@@YA?AV?$complex@N@0@ABV10@@Z */
1664 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1665 /* ??$?GO@std@@YA?AV?$complex@O@0@ABV10@@Z */
1666 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1667 complex_double
* __cdecl
complex_double_neg(complex_double
*ret
, const complex_double
*c
)
1669 ret
->real
= -c
->real
;
1670 ret
->imag
= -c
->imag
;
1674 /* ??$?GN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1675 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1676 /* ??$?GO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1677 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1678 complex_double
* __cdecl
complex_double_sub_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1680 ret
->real
= l
->real
- *r
;
1681 ret
->imag
= l
->imag
;
1685 /* ??$?HN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1686 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1687 /* ??$?HO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1688 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1689 complex_double
* __cdecl
complex_double_add_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1691 ret
->real
= *l
+ r
->real
;
1692 ret
->imag
= r
->imag
;
1696 /* ??$?HN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1697 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1698 /* ??$?HO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1699 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1700 complex_double
* __cdecl
complex_double_add(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1702 ret
->real
= l
->real
+ r
->real
;
1703 ret
->imag
= l
->imag
+ r
->imag
;
1707 /* ??$?HN@std@@YA?AV?$complex@N@0@ABV10@@Z */
1708 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1709 /* ??$?HO@std@@YA?AV?$complex@O@0@ABV10@@Z */
1710 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1711 complex_double
* __cdecl
complex_double_plus(complex_double
*ret
, const complex_double
*c
)
1717 /* ??$?HN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1718 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1719 /* ??$?HO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1720 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1721 complex_double
* __cdecl
complex_double_add_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1723 ret
->real
= l
->real
+ *r
;
1724 ret
->imag
= l
->imag
;
1728 /* ??$?KN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1729 /* ??$?KN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1730 /* ??$?KO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1731 /* ??$?KO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1732 complex_double
* __cdecl
complex_double_div(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1735 if((!r
->real
&& !r
->imag
) || _isnan(l
->real
) || _isnan(l
->imag
)
1736 || _isnan(r
->real
) || _isnan(r
->imag
)) {
1737 ret
->real
= std_numeric_limits_double_quiet_NaN();
1738 ret
->imag
= ret
->real
;
1742 if (fabs(r
->real
) >= fabs(r
->imag
)) {
1743 tmp
= r
->imag
/ r
->real
;
1744 den
= r
->real
+ r
->imag
*tmp
;
1745 ret
->real
= (l
->real
+ l
->imag
*tmp
) / den
;
1746 ret
->imag
= (l
->imag
- l
->real
*tmp
) / den
;
1748 tmp
= r
->real
/ r
->imag
;
1749 den
= r
->real
*tmp
+ r
->imag
;
1750 ret
->real
= (l
->real
*tmp
+ l
->imag
) / den
;
1751 ret
->imag
= (l
->imag
*tmp
- l
->real
) / den
;
1756 /* ??$?KN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1757 /* ??$?KN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1758 /* ??$?KO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1759 /* ??$?KO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1760 complex_double
* __cdecl
complex_double_div_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1762 complex_double c
= {*l
, 0};
1763 return complex_double_div(ret
, &c
, r
);
1766 /* ??$?KN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1767 /* ??$?KN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1768 /* ??$?KO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1769 /* ??$?KO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1770 complex_double
* __cdecl
complex_double_div_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1772 ret
->real
= l
->real
/ *r
;
1773 ret
->imag
= l
->imag
/ *r
;
1777 /* ??4?$_Complex_base@NU_C_double_complex@@@std@@QAEAAV01@ABV01@@Z */
1778 /* ??4?$_Complex_base@NU_C_double_complex@@@std@@QEAAAEAV01@AEBV01@@Z */
1779 /* ??4?$_Complex_base@OU_C_ldouble_complex@@@std@@QAEAAV01@ABV01@@Z */
1780 /* ??4?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAAAEAV01@AEBV01@@Z */
1781 /* ??4?$complex@N@std@@QAEAAV01@ABV01@@Z */
1782 /* ??4?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1783 /* ??4?$complex@O@std@@QAEAAV01@ABV01@@Z */
1784 /* ??4?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1785 DEFINE_THISCALL_WRAPPER(complex_double_assign
, 8)
1786 complex_double
* __thiscall
complex_double_assign(complex_double
*this, const complex_double
*r
)
1792 /* ??4?$complex@N@std@@QAEAAV01@ABN@Z */
1793 /* ??4?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1794 /* ??4?$complex@O@std@@QAEAAV01@ABO@Z */
1795 /* ??4?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1796 DEFINE_THISCALL_WRAPPER(complex_double_assign_double
, 8)
1797 complex_double
* __thiscall
complex_double_assign_double(complex_double
*this, double *r
)
1804 /* ??X?$complex@N@std@@QAEAAV01@ABN@Z */
1805 /* ??X?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1806 /* ??X?$complex@O@std@@QAEAAV01@ABO@Z */
1807 /* ??X?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1808 DEFINE_THISCALL_WRAPPER(complex_double_mult_assign_double
, 8)
1809 complex_double
* __thiscall
complex_double_mult_assign_double(complex_double
*this, const double *r
)
1816 /* ??X?$complex@N@std@@QAEAAV01@ABV01@@Z */
1817 /* ??X?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1818 /* ??X?$complex@O@std@@QAEAAV01@ABV01@@Z */
1819 /* ??X?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1820 DEFINE_THISCALL_WRAPPER(complex_double_mult_assign
, 8)
1821 complex_double
* __thiscall
complex_double_mult_assign(complex_double
*this, const complex_double
*r
)
1825 tmp
.real
= this->real
*r
->real
- this->imag
*r
->imag
;
1826 tmp
.imag
= this->real
*r
->imag
+ this->imag
*r
->real
;
1831 /* ??Y?$complex@N@std@@QAEAAV01@ABN@Z */
1832 /* ??Y?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1833 /* ??Y?$complex@O@std@@QAEAAV01@ABO@Z */
1834 /* ??Y?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1835 DEFINE_THISCALL_WRAPPER(complex_double_add_assign_double
, 8)
1836 complex_double
* __thiscall
complex_double_add_assign_double(complex_double
*this, const double *r
)
1842 /* ??Y?$complex@N@std@@QAEAAV01@ABV01@@Z */
1843 /* ??Y?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1844 /* ??Y?$complex@O@std@@QAEAAV01@ABV01@@Z */
1845 /* ??Y?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1846 DEFINE_THISCALL_WRAPPER(complex_double_add_assign
, 8)
1847 complex_double
* __thiscall
complex_double_add_assign(complex_double
*this, const complex_double
*r
)
1849 this->real
+= r
->real
;
1850 this->imag
+= r
->imag
;
1854 /* ??Z?$complex@N@std@@QAEAAV01@ABN@Z */
1855 /* ??Z?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1856 /* ??Z?$complex@O@std@@QAEAAV01@ABO@Z */
1857 /* ??Z?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1858 DEFINE_THISCALL_WRAPPER(complex_double_sub_assign_double
, 8)
1859 complex_double
* __thiscall
complex_double_sub_assign_double(complex_double
*this, const double *r
)
1865 /* ??Z?$complex@N@std@@QAEAAV01@ABV01@@Z */
1866 /* ??Z?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1867 /* ??Z?$complex@O@std@@QAEAAV01@ABV01@@Z */
1868 /* ??Z?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1869 DEFINE_THISCALL_WRAPPER(complex_double_sub_assign
, 8)
1870 complex_double
* __thiscall
complex_double_sub_assign(complex_double
*this, const complex_double
*r
)
1872 this->real
-= r
->real
;
1873 this->imag
-= r
->imag
;
1877 /* ??_0?$complex@N@std@@QAEAAV01@ABN@Z */
1878 /* ??_0?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1879 /* ??_0?$complex@O@std@@QAEAAV01@ABO@Z */
1880 /* ??_0?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1881 DEFINE_THISCALL_WRAPPER(complex_double_div_assign_double
, 8)
1882 complex_double
* __thiscall
complex_double_div_assign_double(complex_double
*this, const double *r
)
1889 /* ??_0?$complex@N@std@@QAEAAV01@ABV01@@Z */
1890 /* ??_0?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1891 /* ??_0?$complex@O@std@@QAEAAV01@ABV01@@Z */
1892 /* ??_0?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1893 DEFINE_THISCALL_WRAPPER(complex_double_div_assign
, 8)
1894 complex_double
* __thiscall
complex_double_div_assign(complex_double
*this, const complex_double
*r
)
1896 complex_double tmp
= *this;
1897 return complex_double_div(this, &tmp
, r
);
1900 /* ??$arg@N@std@@YANABV?$complex@N@0@@Z */
1901 /* ??$arg@N@std@@YANAEBV?$complex@N@0@@Z */
1902 /* ??$arg@O@std@@YAOABV?$complex@O@0@@Z */
1903 /* ??$arg@O@std@@YAOAEBV?$complex@O@0@@Z */
1904 double __cdecl
complex_double_arg(const complex_double
*c
)
1906 return atan2(c
->imag
, c
->real
);
1909 /* ??$imag@N@std@@YANABV?$complex@N@0@@Z */
1910 /* ??$imag@N@std@@YANAEBV?$complex@N@0@@Z */
1911 /* ??$imag@O@std@@YAOABV?$complex@O@0@@Z */
1912 /* ??$imag@O@std@@YAOAEBV?$complex@O@0@@Z */
1913 double __cdecl
complex_double_imag(const complex_double
*c
)
1918 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QAENABN@Z */
1919 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QEAANAEBN@Z */
1920 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QAEOABO@Z */
1921 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAAOAEBO@Z */
1922 DEFINE_THISCALL_WRAPPER(complex_double_imag_set
, 8)
1923 double __thiscall
complex_double_imag_set(complex_double
*this, const double *d
)
1925 return (this->imag
= *d
);
1928 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QBENXZ */
1929 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QEBANXZ */
1930 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QBEOXZ */
1931 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEBAOXZ */
1932 DEFINE_THISCALL_WRAPPER(complex_double_imag_get
, 4)
1933 double __thiscall
complex_double_imag_get(const complex_double
*this)
1938 /* ??$real@N@std@@YANABV?$complex@N@0@@Z */
1939 /* ??$real@N@std@@YANAEBV?$complex@N@0@@Z */
1940 /* ??$real@O@std@@YAOABV?$complex@O@0@@Z */
1941 /* ??$real@O@std@@YAOAEBV?$complex@O@0@@Z */
1942 double __cdecl
complex_double_real(const complex_double
*c
)
1947 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QAENABN@Z */
1948 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QEAANAEBN@Z */
1949 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QAEOABO@Z */
1950 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAAOAEBO@Z */
1951 DEFINE_THISCALL_WRAPPER(complex_double_real_set
, 8)
1952 double __thiscall
complex_double_real_set(complex_double
*this, const double *d
)
1954 return (this->real
= *d
);
1957 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QBENXZ */
1958 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QEBANXZ */
1959 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QBEOXZ */
1960 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEBAOXZ */
1961 DEFINE_THISCALL_WRAPPER(complex_double_real_get
, 4)
1962 double __thiscall
complex_double_real_get(const complex_double
*this)
1967 /* ??$_Fabs@N@std@@YANABV?$complex@N@0@PAH@Z */
1968 /* ??$_Fabs@N@std@@YANAEBV?$complex@N@0@PEAH@Z */
1969 /* ??$_Fabs@O@std@@YAOABV?$complex@O@0@PAH@Z */
1970 /* ??$_Fabs@O@std@@YAOAEBV?$complex@O@0@PEAH@Z */
1971 double __cdecl
complex_double__Fabs(const complex_double
*c
, int *scale
)
1975 ret
= hypot(c
->real
, c
->imag
);
1976 if(_isnan(ret
) || ret
==0) {
1978 }else if(ret
>= 1) {
1989 /* ??$abs@N@std@@YANABV?$complex@N@0@@Z */
1990 /* ??$abs@N@std@@YANAEBV?$complex@N@0@@Z */
1991 /* ??$abs@O@std@@YAOABV?$complex@O@0@@Z */
1992 /* ??$abs@O@std@@YAOAEBV?$complex@O@0@@Z */
1993 double __cdecl
complex_double_abs(const complex_double
*c
)
1995 return hypot(c
->real
, c
->imag
);
1998 /* ??$conj@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
1999 /* ??$conj@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2000 /* ??$conj@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2001 /* ??$conj@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2002 complex_double
* __cdecl
complex_double_conj(complex_double
*ret
, const complex_double
*c
)
2004 ret
->real
= c
->real
;
2005 ret
->imag
= -c
->imag
;
2009 /* ??$cos@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2010 /* ??$cos@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2011 /* ??$cos@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2012 /* ??$cos@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2013 complex_double
* __cdecl
complex_double_cos(complex_double
*ret
, const complex_double
*c
)
2015 ret
->real
= cos(c
->real
)*cosh(c
->imag
);
2016 ret
->imag
= -sin(c
->real
)*sinh(c
->imag
);
2020 /* ??$sin@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2021 /* ??$sin@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2022 /* ??$sin@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2023 /* ??$sin@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2024 complex_double
* __cdecl
complex_double_sin(complex_double
*ret
, const complex_double
*c
)
2026 ret
->real
= sin(c
->real
)*cosh(c
->imag
);
2027 ret
->imag
= cos(c
->real
)*sinh(c
->imag
);
2031 /* ??$tan@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2032 /* ??$tan@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2033 /* ??$tan@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2034 /* ??$tan@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2035 complex_double
* __cdecl
complex_double_tan(complex_double
*ret
, const complex_double
*c
)
2037 double denom
= cos(2*c
->real
) + cosh(2*c
->imag
);
2038 ret
->real
= sin(2*c
->real
) / denom
;
2039 ret
->imag
= sinh(2*c
->imag
) / denom
;
2043 /* ??$cosh@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2044 /* ??$cosh@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2045 /* ??$cosh@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2046 /* ??$cosh@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2047 complex_double
* __cdecl
complex_double_cosh(complex_double
*ret
, const complex_double
*c
)
2049 ret
->real
= cosh(c
->real
)*cos(c
->imag
);
2050 ret
->imag
= sinh(c
->real
)*sin(c
->imag
);
2054 /* ??$sinh@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2055 /* ??$sinh@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2056 /* ??$sinh@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2057 /* ??$sinh@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2058 complex_double
* __cdecl
complex_double_sinh(complex_double
*ret
, const complex_double
*c
)
2060 ret
->real
= sinh(c
->real
)*cos(c
->imag
);
2061 ret
->imag
= cosh(c
->real
)*sin(c
->imag
);
2065 /* ??$tanh@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2066 /* ??$tanh@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2067 /* ??$tanh@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2068 /* ??$tanh@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2069 complex_double
* __cdecl
complex_double_tanh(complex_double
*ret
, const complex_double
*c
)
2073 ret
->real
= -c
->imag
;
2074 ret
->imag
= c
->real
;
2075 complex_double_tan(&tmp
, ret
);
2076 ret
->real
= tmp
.imag
;
2077 ret
->imag
= -tmp
.real
;
2081 /* ??$exp@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2082 /* ??$exp@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2083 /* ??$exp@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2084 /* ??$exp@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2085 complex_double
* __cdecl
complex_double_exp(complex_double
*ret
, const complex_double
*c
)
2087 ret
->real
= ret
->imag
= exp(c
->real
);
2088 ret
->real
*= cos(c
->imag
);
2089 ret
->imag
*= sin(c
->imag
);
2093 /* ??$log@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2094 /* ??$log@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2095 /* ??$log@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2096 /* ??$log@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2097 complex_double
* __cdecl
complex_double_log(complex_double
*ret
, const complex_double
*c
)
2099 ret
->real
= log(complex_double_abs(c
));
2100 ret
->imag
= complex_double_arg(c
);
2104 /* ??$log10@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2105 /* ??$log10@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2106 /* ??$log10@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2107 /* ??$log10@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2108 complex_double
* __cdecl
complex_double_log10(complex_double
*ret
, const complex_double
*c
)
2110 complex_double_log(ret
, c
);
2111 ret
->real
*= M_LOG10E
;
2112 ret
->imag
*= M_LOG10E
;
2116 /* ??$norm@N@std@@YANABV?$complex@N@0@@Z */
2117 /* ??$norm@N@std@@YANAEBV?$complex@N@0@@Z */
2118 /* ??$norm@O@std@@YAOABV?$complex@O@0@@Z */
2119 /* ??$norm@O@std@@YAOAEBV?$complex@O@0@@Z */
2120 double __cdecl
complex_double_norm(const complex_double
*c
)
2122 return c
->real
*c
->real
+ c
->imag
*c
->imag
;
2125 /* ??$polar@N@std@@YA?AV?$complex@N@0@ABN0@Z */
2126 /* ??$polar@N@std@@YA?AV?$complex@N@0@AEBN0@Z */
2127 /* ??$polar@O@std@@YA?AV?$complex@O@0@ABO0@Z */
2128 /* ??$polar@O@std@@YA?AV?$complex@O@0@AEBO0@Z */
2129 complex_double
* __cdecl
complex_double_polar_theta(complex_double
*ret
, const double *mod
, const double *theta
)
2131 ret
->real
= *mod
* cos(*theta
);
2132 ret
->imag
= *mod
* sin(*theta
);
2136 /* ??$polar@N@std@@YA?AV?$complex@N@0@ABN@Z */
2137 /* ??$polar@N@std@@YA?AV?$complex@N@0@AEBN@Z */
2138 /* ??$polar@O@std@@YA?AV?$complex@O@0@ABO@Z */
2139 /* ??$polar@O@std@@YA?AV?$complex@O@0@AEBO@Z */
2140 complex_double
* __cdecl
complex_double_polar(complex_double
*ret
, const double *mod
)
2147 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABV10@0@Z */
2148 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
2149 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABV10@0@Z */
2150 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
2151 complex_double
* __cdecl
complex_double_pow(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
2153 double abs
= complex_double_abs(l
), arg
= complex_double_arg(l
);
2154 double rad
= pow(abs
, r
->real
), theta
= r
->real
*arg
;
2157 rad
*= exp(-r
->imag
* arg
);
2158 theta
+= r
->imag
* log(abs
);
2161 ret
->real
= rad
* cos(theta
);
2162 ret
->imag
= rad
* sin(theta
);
2166 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
2167 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
2168 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
2169 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
2170 complex_double
* __cdecl
complex_double_pow_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
2172 complex_double c
= { *l
, 0 };
2173 return complex_double_pow(ret
, &c
, r
);
2176 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
2177 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
2178 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
2179 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
2180 complex_double
* __cdecl
complex_double_pow_cd(complex_double
*ret
, const complex_double
*l
, const double *r
)
2182 complex_double c
= { *r
, 0 };
2183 return complex_double_pow(ret
, l
, &c
);
2186 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABV10@H@Z */
2187 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBV10@H@Z */
2188 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABV10@H@Z */
2189 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBV10@H@Z */
2190 complex_double
* __cdecl
complex_double_pow_ci(complex_double
*ret
, const complex_double
*l
, int r
)
2192 complex_double c
= *l
;
2193 complex_double unit_value
= { 1.0, 0 };
2194 complex_double_assign(ret
, &unit_value
);
2198 complex_double_div(&c
, &unit_value
, l
);
2203 complex_double_mult_assign(ret
, &c
);
2205 complex_double_mult_assign(&c
, &c
);
2211 /* ??$sqrt@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2212 /* ??$sqrt@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2213 /* ??$sqrt@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2214 /* ??$sqrt@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2215 complex_double
* __cdecl
complex_double_sqrt(complex_double
*ret
, const complex_double
*l
)
2217 complex_double c
= { 0.5, 0 };
2218 return complex_double_pow(ret
, l
, &c
);