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
)
1165 complex_float tmp
= *this;
1167 this->real
= tmp
.real
*r
->real
- tmp
.imag
*r
->imag
;
1168 this->imag
= tmp
.real
*r
->imag
+ tmp
.imag
*r
->real
;
1172 /* ??Y?$complex@M@std@@QAEAAV01@ABM@Z */
1173 /* ??Y?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1174 DEFINE_THISCALL_WRAPPER(complex_float_add_assign_float
, 8)
1175 complex_float
* __thiscall
complex_float_add_assign_float(complex_float
*this, const float *r
)
1181 /* ??Y?$complex@M@std@@QAEAAV01@ABV01@@Z */
1182 /* ??Y?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1183 DEFINE_THISCALL_WRAPPER(complex_float_add_assign
, 8)
1184 complex_float
* __thiscall
complex_float_add_assign(complex_float
*this, const complex_float
*r
)
1186 this->real
+= r
->real
;
1187 this->imag
+= r
->imag
;
1191 /* ??Z?$complex@M@std@@QAEAAV01@ABM@Z */
1192 /* ??Z?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1193 DEFINE_THISCALL_WRAPPER(complex_float_sub_assign_float
, 8)
1194 complex_float
* __thiscall
complex_float_sub_assign_float(complex_float
*this, const float *r
)
1200 /* ??Z?$complex@M@std@@QAEAAV01@ABV01@@Z */
1201 /* ??Z?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1202 DEFINE_THISCALL_WRAPPER(complex_float_sub_assign
, 8)
1203 complex_float
* __thiscall
complex_float_sub_assign(complex_float
*this, const complex_float
*r
)
1205 this->real
-= r
->real
;
1206 this->imag
-= r
->imag
;
1210 /* ??_0?$complex@M@std@@QAEAAV01@ABM@Z */
1211 /* ??_0?$complex@M@std@@QEAAAEAV01@AEBM@Z */
1212 DEFINE_THISCALL_WRAPPER(complex_float_div_assign_float
, 8)
1213 complex_float
* __thiscall
complex_float_div_assign_float(complex_float
*this, const float *r
)
1220 /* ??_0?$complex@M@std@@QAEAAV01@ABV01@@Z */
1221 /* ??_0?$complex@M@std@@QEAAAEAV01@AEBV01@@Z */
1222 DEFINE_THISCALL_WRAPPER(complex_float_div_assign
, 8)
1223 complex_float
* __thiscall
complex_float_div_assign(complex_float
*this, const complex_float
*r
)
1225 complex_float tmp
= *this;
1226 return complex_float_div(this, &tmp
, r
);
1229 /* ??$arg@M@std@@YAMABV?$complex@M@0@@Z */
1230 /* ??$arg@M@std@@YAMAEBV?$complex@M@0@@Z */
1231 float __cdecl
complex_float_arg(const complex_float
*c
)
1233 return atan2(c
->imag
, c
->real
);
1236 /* ??$imag@M@std@@YAMABV?$complex@M@0@@Z */
1237 /* ??$imag@M@std@@YAMAEBV?$complex@M@0@@Z */
1238 float __cdecl
complex_float_imag(const complex_float
*c
)
1243 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QAEMABM@Z */
1244 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QEAAMAEBM@Z */
1245 DEFINE_THISCALL_WRAPPER(complex_float_imag_set
, 8)
1246 float __thiscall
complex_float_imag_set(complex_float
*this, const float *f
)
1248 return (this->imag
= *f
);
1251 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QBEMXZ */
1252 /* ?imag@?$_Complex_base@MU_C_float_complex@@@std@@QEBAMXZ */
1253 DEFINE_THISCALL_WRAPPER(complex_float_imag_get
, 4)
1254 float __thiscall
complex_float_imag_get(const complex_float
*this)
1259 /* ??$real@M@std@@YAMABV?$complex@M@0@@Z */
1260 /* ??$real@M@std@@YAMAEBV?$complex@M@0@@Z */
1261 float __cdecl
complex_float_real(const complex_float
*c
)
1266 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QAEMABM@Z */
1267 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QEAAMAEBM@Z */
1268 DEFINE_THISCALL_WRAPPER(complex_float_real_set
, 8)
1269 float __thiscall
complex_float_real_set(complex_float
*this, const float *f
)
1271 return (this->real
= *f
);
1274 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QBEMXZ */
1275 /* ?real@?$_Complex_base@MU_C_float_complex@@@std@@QEBAMXZ */
1276 DEFINE_THISCALL_WRAPPER(complex_float_real_get
, 4)
1277 float __thiscall
complex_float_real_get(const complex_float
*this)
1282 /* ??$_Fabs@M@std@@YAMABV?$complex@M@0@PAH@Z */
1283 /* ??$_Fabs@M@std@@YAMAEBV?$complex@M@0@PEAH@Z */
1284 float __cdecl
complex_float__Fabs(const complex_float
*c
, int *scale
)
1288 ret
= hypotf(c
->real
, c
->imag
);
1289 if(_isnan(ret
) || ret
==0) {
1291 }else if(ret
>= 1) {
1302 /* ??$abs@M@std@@YAMABV?$complex@M@0@@Z */
1303 /* ??$abs@M@std@@YAMAEBV?$complex@M@0@@Z */
1304 float __cdecl
complex_float_abs(const complex_float
*c
)
1306 return hypotf(c
->real
, c
->imag
);
1309 /* ??$conj@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1310 /* ??$conj@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1311 complex_float
* __cdecl
complex_float_conj(complex_float
*ret
, const complex_float
*c
)
1313 ret
->real
= c
->real
;
1314 ret
->imag
= -c
->imag
;
1318 /* ??$cos@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1319 /* ??$cos@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1320 complex_float
* __cdecl
complex_float_cos(complex_float
*ret
, const complex_float
*c
)
1322 ret
->real
= cos(c
->real
)*cosh(c
->imag
);
1323 ret
->imag
= -sin(c
->real
)*sinh(c
->imag
);
1327 /* ??$sin@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1328 /* ??$sin@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1329 complex_float
* __cdecl
complex_float_sin(complex_float
*ret
, const complex_float
*c
)
1331 ret
->real
= sin(c
->real
)*cosh(c
->imag
);
1332 ret
->imag
= cos(c
->real
)*sinh(c
->imag
);
1336 /* ??$tan@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1337 /* ??$tan@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1338 complex_float
* __cdecl
complex_float_tan(complex_float
*ret
, const complex_float
*c
)
1340 double denom
= cos(2*c
->real
) + cosh(2*c
->imag
);
1341 ret
->real
= sin(2*c
->real
) / denom
;
1342 ret
->imag
= sinh(2*c
->imag
) / denom
;
1346 /* ??$cosh@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1347 /* ??$cosh@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1348 complex_float
* __cdecl
complex_float_cosh(complex_float
*ret
, const complex_float
*c
)
1350 ret
->real
= cosh(c
->real
)*cos(c
->imag
);
1351 ret
->imag
= sinh(c
->real
)*sin(c
->imag
);
1355 /* ??$sinh@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1356 /* ??$sinh@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1357 complex_float
* __cdecl
complex_float_sinh(complex_float
*ret
, const complex_float
*c
)
1359 ret
->real
= sinh(c
->real
)*cos(c
->imag
);
1360 ret
->imag
= cosh(c
->real
)*sin(c
->imag
);
1364 /* ??$tanh@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1365 /* ??$tanh@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1366 complex_float
* __cdecl
complex_float_tanh(complex_float
*ret
, const complex_float
*c
)
1370 ret
->real
= -c
->imag
;
1371 ret
->imag
= c
->real
;
1372 complex_float_tan(&tmp
, ret
);
1373 ret
->real
= tmp
.imag
;
1374 ret
->imag
= -tmp
.real
;
1378 /* ??$exp@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1379 /* ??$exp@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1380 complex_float
* __cdecl
complex_float_exp(complex_float
*ret
, const complex_float
*c
)
1382 ret
->real
= ret
->imag
= exp(c
->real
);
1383 ret
->real
*= cos(c
->imag
);
1384 ret
->imag
*= sin(c
->imag
);
1388 /* ??$log@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1389 /* ??$log@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1390 complex_float
* __cdecl
complex_float_log(complex_float
*ret
, const complex_float
*c
)
1392 ret
->real
= log(complex_float_abs(c
));
1393 ret
->imag
= complex_float_arg(c
);
1397 /* ??$log10@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1398 /* ??$log10@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1399 complex_float
* __cdecl
complex_float_log10(complex_float
*ret
, const complex_float
*c
)
1401 complex_float_log(ret
, c
);
1402 ret
->real
*= M_LOG10E
;
1403 ret
->imag
*= M_LOG10E
;
1407 /* ??$norm@M@std@@YAMABV?$complex@M@0@@Z */
1408 /* ??$norm@M@std@@YAMAEBV?$complex@M@0@@Z */
1409 float __cdecl
complex_float_norm(const complex_float
*c
)
1411 return c
->real
*c
->real
+ c
->imag
*c
->imag
;
1414 /* ??$polar@M@std@@YA?AV?$complex@M@0@ABM0@Z */
1415 /* ??$polar@M@std@@YA?AV?$complex@M@0@AEBM0@Z */
1416 complex_float
* __cdecl
complex_float_polar_theta(complex_float
*ret
, const float *mod
, const float *theta
)
1418 ret
->real
= *mod
* cos(*theta
);
1419 ret
->imag
= *mod
* sin(*theta
);
1423 /* ??$polar@M@std@@YA?AV?$complex@M@0@ABM@Z */
1424 /* ??$polar@M@std@@YA?AV?$complex@M@0@AEBM@Z */
1425 complex_float
* __cdecl
complex_float_polar(complex_float
*ret
, const float *mod
)
1432 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABV10@0@Z */
1433 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBV10@0@Z */
1434 complex_float
* __cdecl
complex_float_pow(complex_float
*ret
, const complex_float
*l
, const complex_float
*r
)
1436 float abs
= complex_float_abs(l
), arg
= complex_float_arg(l
);
1437 float rad
= pow(abs
, r
->real
), theta
= r
->real
*arg
;
1440 rad
*= exp(-r
->imag
* arg
);
1441 theta
+= r
->imag
* log(abs
);
1444 ret
->real
= rad
* cos(theta
);
1445 ret
->imag
= rad
* sin(theta
);
1449 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABMABV10@@Z */
1450 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBMAEBV10@@Z */
1451 complex_float
* __cdecl
complex_float_pow_fc(complex_float
*ret
, const float *l
, const complex_float
*r
)
1453 complex_float c
= { *l
, 0 };
1454 return complex_float_pow(ret
, &c
, r
);
1457 /* ??$pow@M@std@@YA?AV?$complex@M@0@ABV10@ABM@Z */
1458 /* ??$pow@M@std@@YA?AV?$complex@M@0@AEBV10@AEBM@Z */
1459 complex_float
* __cdecl
complex_float_pow_cf(complex_float
*ret
, const complex_float
*l
, const float *r
)
1461 complex_float c
= { *r
, 0 };
1462 return complex_float_pow(ret
, l
, &c
);
1465 /* ??$sqrt@M@std@@YA?AV?$complex@M@0@ABV10@@Z */
1466 /* ??$sqrt@M@std@@YA?AV?$complex@M@0@AEBV10@@Z */
1467 complex_float
* __cdecl
complex_float_sqrt(complex_float
*ret
, const complex_float
*l
)
1469 complex_float c
= { 0.5, 0 };
1470 return complex_float_pow(ret
, l
, &c
);
1473 /* ??0?$_Complex_base@NU_C_double_complex@@@std@@QAE@ABN0@Z */
1474 /* ??0?$_Complex_base@NU_C_double_complex@@@std@@QEAA@AEBN0@Z */
1475 /* ??0?$_Complex_base@OU_C_ldouble_complex@@@std@@QAE@ABO0@Z */
1476 /* ??0?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAA@AEBO0@Z */
1477 /* ??0?$complex@N@std@@QAE@ABN0@Z */
1478 /* ??0?$complex@N@std@@QEAA@AEBN0@Z */
1479 /* ??0?$complex@O@std@@QAE@ABO0@Z */
1480 /* ??0?$complex@O@std@@QEAA@AEBO0@Z */
1481 DEFINE_THISCALL_WRAPPER(complex_double_ctor
, 12)
1482 complex_double
* __thiscall
complex_double_ctor(complex_double
*this, const double *real
, const double *imag
)
1489 /* ??0?$complex@N@std@@QAE@ABU_C_double_complex@@@Z */
1490 /* ??0?$complex@N@std@@QEAA@AEBU_C_double_complex@@@Z */
1491 /* ??0?$complex@N@std@@QAE@ABU_C_ldouble_complex@@@Z */
1492 /* ??0?$complex@N@std@@QEAA@AEBU_C_ldouble_complex@@@Z */
1493 /* ??0?$complex@N@std@@QAE@ABV?$complex@O@1@@Z */
1494 /* ??0?$complex@N@std@@QEAA@AEBV?$complex@O@1@@Z */
1495 /* ??0?$complex@O@std@@QAE@ABU_C_ldouble_complex@@@Z */
1496 /* ??0?$complex@O@std@@QEAA@AEBU_C_ldouble_complex@@@Z */
1497 /* ??0?$complex@O@std@@QAE@ABV?$complex@N@1@@Z */
1498 /* ??0?$complex@O@std@@QEAA@AEBV?$complex@N@1@@Z */
1499 DEFINE_THISCALL_WRAPPER(complex_double_ctor_double
, 8)
1500 complex_double
* __thiscall
complex_double_ctor_double(complex_double
*this, const complex_double
*c
)
1502 this->real
= c
->real
;
1503 this->imag
= c
->imag
;
1507 /* ??0?$complex@N@std@@QAE@ABV?$complex@M@1@@Z */
1508 /* ??0?$complex@N@std@@QEAA@AEBV?$complex@M@1@@Z */
1509 /* ??0?$complex@O@std@@QAE@ABV?$complex@M@1@@Z */
1510 /* ??0?$complex@O@std@@QEAA@AEBV?$complex@M@1@@Z */
1511 DEFINE_THISCALL_WRAPPER(complex_double_ctor_float
, 8)
1512 complex_double
* __thiscall
complex_double_ctor_float(complex_double
*this, const complex_float
*c
)
1514 this->real
= c
->real
;
1515 this->imag
= c
->imag
;
1519 /* ??_F?$complex@N@std@@QAEXXZ */
1520 /* ??_F?$complex@N@std@@QEAAXXZ */
1521 /* ??_F?$complex@O@std@@QAEXXZ */
1522 /* ??_F?$complex@O@std@@QEAAXXZ */
1523 DEFINE_THISCALL_WRAPPER(complex_double_ctor_def
, 4)
1524 complex_double
* __thiscall
complex_double_ctor_def(complex_double
*this)
1526 this->real
= this->imag
= 0;
1530 /* ??$?8N@std@@YA_NABNABV?$complex@N@0@@Z */
1531 /* ??$?8N@std@@YA_NAEBNAEBV?$complex@N@0@@Z */
1532 /* ??$?8O@std@@YA_NABOABV?$complex@O@0@@Z */
1533 /* ??$?8O@std@@YA_NAEBOAEBV?$complex@O@0@@Z */
1534 MSVCP_bool __cdecl
complex_double_equal_dc(const double *l
, const complex_double
*r
)
1536 return *l
==r
->real
&& r
->imag
==0;
1539 /* ??$?8N@std@@YA_NABV?$complex@N@0@0@Z */
1540 /* ??$?8N@std@@YA_NAEBV?$complex@N@0@0@Z */
1541 /* ??$?8O@std@@YA_NABV?$complex@O@0@0@Z */
1542 /* ??$?8O@std@@YA_NAEBV?$complex@O@0@0@Z */
1543 MSVCP_bool __cdecl
complex_double_equal(const complex_double
*l
, const complex_double
*r
)
1545 return l
->real
==r
->real
&& l
->imag
==r
->imag
;
1548 /* ??$?8N@std@@YA_NABV?$complex@N@0@ABN@Z */
1549 /* ??$?8N@std@@YA_NAEBV?$complex@N@0@AEBN@Z */
1550 /* ??$?8O@std@@YA_NABV?$complex@O@0@ABO@Z */
1551 /* ??$?8O@std@@YA_NAEBV?$complex@O@0@AEBO@Z */
1552 MSVCP_bool __cdecl
complex_double_equal_cd(const complex_double
*l
, double *r
)
1554 return l
->real
==*r
&& l
->imag
==0;
1557 /* ??$?9N@std@@YA_NABNABV?$complex@N@0@@Z */
1558 /* ??$?9N@std@@YA_NAEBNAEBV?$complex@N@0@@Z */
1559 /* ??$?9O@std@@YA_NABOABV?$complex@O@0@@Z */
1560 /* ??$?9O@std@@YA_NAEBOAEBV?$complex@O@0@@Z */
1561 MSVCP_bool __cdecl
complex_double_not_equal_dc(const double *l
, const complex_double
*r
)
1563 return !complex_double_equal_dc(l
, r
);
1566 /* ??$?9N@std@@YA_NABV?$complex@N@0@0@Z */
1567 /* ??$?9N@std@@YA_NAEBV?$complex@N@0@0@Z */
1568 /* ??$?9O@std@@YA_NABV?$complex@O@0@0@Z */
1569 /* ??$?9O@std@@YA_NAEBV?$complex@O@0@0@Z */
1570 MSVCP_bool __cdecl
complex_double_not_equal(const complex_double
*l
, const complex_double
*r
)
1572 return !complex_double_equal(l
, r
);
1575 /* ??$?9N@std@@YA_NABV?$complex@N@0@ABN@Z */
1576 /* ??$?9N@std@@YA_NAEBV?$complex@N@0@AEBN@Z */
1577 /* ??$?9O@std@@YA_NABV?$complex@O@0@ABO@Z */
1578 /* ??$?9O@std@@YA_NAEBV?$complex@O@0@AEBO@Z */
1579 MSVCP_bool __cdecl
complex_double_not_equal_cd(const complex_double
*l
, double *r
)
1581 return !complex_double_equal_cd(l
, r
);
1584 /* ??$?DN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1585 /* ??$?DN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1586 /* ??$?DO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1587 /* ??$?DO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1588 complex_double
* __cdecl
complex_double_mult_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1590 ret
->real
= *l
* r
->real
;
1591 ret
->imag
= *l
* r
->imag
;
1595 /* ??$?DN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1596 /* ??$?DN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1597 /* ??$?DO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1598 /* ??$?DO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1599 complex_double
* __cdecl
complex_double_mult(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1601 ret
->real
= l
->real
*r
->real
- l
->imag
*r
->imag
;
1602 ret
->imag
= l
->imag
*r
->real
+ l
->real
*r
->imag
;
1606 /* ??$?DN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1607 /* ??$?DN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1608 /* ??$?DO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1609 /* ??$?DO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1610 complex_double
* __cdecl
complex_double_mult_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1612 ret
->real
= l
->real
* *r
;
1613 ret
->imag
= l
->imag
* *r
;
1617 /* ??$?GN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1618 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1619 /* ??$?GO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1620 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1621 complex_double
* __cdecl
complex_double_sub_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1623 ret
->real
= *l
- r
->real
;
1624 ret
->imag
= -r
->imag
;
1628 /* ??$?GN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1629 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1630 /* ??$?GO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1631 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1632 complex_double
* __cdecl
complex_double_sub(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1634 ret
->real
= l
->real
- r
->real
;
1635 ret
->imag
= l
->imag
- r
->imag
;
1639 /* ??$?GN@std@@YA?AV?$complex@N@0@ABV10@@Z */
1640 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1641 /* ??$?GO@std@@YA?AV?$complex@O@0@ABV10@@Z */
1642 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1643 complex_double
* __cdecl
complex_double_neg(complex_double
*ret
, const complex_double
*c
)
1645 ret
->real
= -c
->real
;
1646 ret
->imag
= -c
->imag
;
1650 /* ??$?GN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1651 /* ??$?GN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1652 /* ??$?GO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1653 /* ??$?GO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1654 complex_double
* __cdecl
complex_double_sub_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1656 ret
->real
= l
->real
- *r
;
1657 ret
->imag
= l
->imag
;
1661 /* ??$?HN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1662 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1663 /* ??$?HO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1664 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1665 complex_double
* __cdecl
complex_double_add_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1667 ret
->real
= *l
+ r
->real
;
1668 ret
->imag
= r
->imag
;
1672 /* ??$?HN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1673 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1674 /* ??$?HO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1675 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1676 complex_double
* __cdecl
complex_double_add(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1678 ret
->real
= l
->real
+ r
->real
;
1679 ret
->imag
= l
->imag
+ r
->imag
;
1683 /* ??$?HN@std@@YA?AV?$complex@N@0@ABV10@@Z */
1684 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1685 /* ??$?HO@std@@YA?AV?$complex@O@0@ABV10@@Z */
1686 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1687 complex_double
* __cdecl
complex_double_plus(complex_double
*ret
, const complex_double
*c
)
1693 /* ??$?HN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1694 /* ??$?HN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1695 /* ??$?HO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1696 /* ??$?HO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1697 complex_double
* __cdecl
complex_double_add_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1699 ret
->real
= l
->real
+ *r
;
1700 ret
->imag
= l
->imag
;
1704 /* ??$?KN@std@@YA?AV?$complex@N@0@ABV10@0@Z */
1705 /* ??$?KN@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
1706 /* ??$?KO@std@@YA?AV?$complex@O@0@ABV10@0@Z */
1707 /* ??$?KO@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
1708 complex_double
* __cdecl
complex_double_div(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
1711 if((!r
->real
&& !r
->imag
) || _isnan(l
->real
) || _isnan(l
->imag
)
1712 || _isnan(r
->real
) || _isnan(r
->imag
)) {
1713 ret
->real
= std_numeric_limits_double_quiet_NaN();
1714 ret
->imag
= ret
->real
;
1718 if (fabs(r
->real
) >= fabs(r
->imag
)) {
1719 tmp
= r
->imag
/ r
->real
;
1720 den
= r
->real
+ r
->imag
*tmp
;
1721 ret
->real
= (l
->real
+ l
->imag
*tmp
) / den
;
1722 ret
->imag
= (l
->imag
- l
->real
*tmp
) / den
;
1724 tmp
= r
->real
/ r
->imag
;
1725 den
= r
->real
*tmp
+ r
->imag
;
1726 ret
->real
= (l
->real
*tmp
+ l
->imag
) / den
;
1727 ret
->imag
= (l
->imag
*tmp
- l
->real
) / den
;
1732 /* ??$?KN@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
1733 /* ??$?KN@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
1734 /* ??$?KO@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
1735 /* ??$?KO@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
1736 complex_double
* __cdecl
complex_double_div_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
1738 complex_double c
= {*l
, 0};
1739 return complex_double_div(ret
, &c
, r
);
1742 /* ??$?KN@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
1743 /* ??$?KN@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
1744 /* ??$?KO@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
1745 /* ??$?KO@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
1746 complex_double
* __cdecl
complex_double_div_cd(complex_double
*ret
, const complex_double
*l
, double *r
)
1748 ret
->real
= l
->real
/ *r
;
1749 ret
->imag
= l
->imag
/ *r
;
1753 /* ??4?$_Complex_base@NU_C_double_complex@@@std@@QAEAAV01@ABV01@@Z */
1754 /* ??4?$_Complex_base@NU_C_double_complex@@@std@@QEAAAEAV01@AEBV01@@Z */
1755 /* ??4?$_Complex_base@OU_C_ldouble_complex@@@std@@QAEAAV01@ABV01@@Z */
1756 /* ??4?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAAAEAV01@AEBV01@@Z */
1757 /* ??4?$complex@N@std@@QAEAAV01@ABV01@@Z */
1758 /* ??4?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1759 /* ??4?$complex@O@std@@QAEAAV01@ABV01@@Z */
1760 /* ??4?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1761 DEFINE_THISCALL_WRAPPER(complex_double_assign
, 8)
1762 complex_double
* __thiscall
complex_double_assign(complex_double
*this, const complex_double
*r
)
1768 /* ??4?$complex@N@std@@QAEAAV01@ABN@Z */
1769 /* ??4?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1770 /* ??4?$complex@O@std@@QAEAAV01@ABO@Z */
1771 /* ??4?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1772 DEFINE_THISCALL_WRAPPER(complex_double_assign_double
, 8)
1773 complex_double
* __thiscall
complex_double_assign_double(complex_double
*this, double *r
)
1780 /* ??X?$complex@N@std@@QAEAAV01@ABN@Z */
1781 /* ??X?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1782 /* ??X?$complex@O@std@@QAEAAV01@ABO@Z */
1783 /* ??X?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1784 DEFINE_THISCALL_WRAPPER(complex_double_mult_assign_double
, 8)
1785 complex_double
* __thiscall
complex_double_mult_assign_double(complex_double
*this, const double *r
)
1792 /* ??X?$complex@N@std@@QAEAAV01@ABV01@@Z */
1793 /* ??X?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1794 /* ??X?$complex@O@std@@QAEAAV01@ABV01@@Z */
1795 /* ??X?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1796 DEFINE_THISCALL_WRAPPER(complex_double_mult_assign
, 8)
1797 complex_double
* __thiscall
complex_double_mult_assign(complex_double
*this, const complex_double
*r
)
1799 complex_double tmp
= *this;
1801 this->real
= tmp
.real
*r
->real
- tmp
.imag
*r
->imag
;
1802 this->imag
= tmp
.real
*r
->imag
+ tmp
.imag
*r
->real
;
1806 /* ??Y?$complex@N@std@@QAEAAV01@ABN@Z */
1807 /* ??Y?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1808 /* ??Y?$complex@O@std@@QAEAAV01@ABO@Z */
1809 /* ??Y?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1810 DEFINE_THISCALL_WRAPPER(complex_double_add_assign_double
, 8)
1811 complex_double
* __thiscall
complex_double_add_assign_double(complex_double
*this, const double *r
)
1817 /* ??Y?$complex@N@std@@QAEAAV01@ABV01@@Z */
1818 /* ??Y?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1819 /* ??Y?$complex@O@std@@QAEAAV01@ABV01@@Z */
1820 /* ??Y?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1821 DEFINE_THISCALL_WRAPPER(complex_double_add_assign
, 8)
1822 complex_double
* __thiscall
complex_double_add_assign(complex_double
*this, const complex_double
*r
)
1824 this->real
+= r
->real
;
1825 this->imag
+= r
->imag
;
1829 /* ??Z?$complex@N@std@@QAEAAV01@ABN@Z */
1830 /* ??Z?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1831 /* ??Z?$complex@O@std@@QAEAAV01@ABO@Z */
1832 /* ??Z?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1833 DEFINE_THISCALL_WRAPPER(complex_double_sub_assign_double
, 8)
1834 complex_double
* __thiscall
complex_double_sub_assign_double(complex_double
*this, const double *r
)
1840 /* ??Z?$complex@N@std@@QAEAAV01@ABV01@@Z */
1841 /* ??Z?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1842 /* ??Z?$complex@O@std@@QAEAAV01@ABV01@@Z */
1843 /* ??Z?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1844 DEFINE_THISCALL_WRAPPER(complex_double_sub_assign
, 8)
1845 complex_double
* __thiscall
complex_double_sub_assign(complex_double
*this, const complex_double
*r
)
1847 this->real
-= r
->real
;
1848 this->imag
-= r
->imag
;
1852 /* ??_0?$complex@N@std@@QAEAAV01@ABN@Z */
1853 /* ??_0?$complex@N@std@@QEAAAEAV01@AEBN@Z */
1854 /* ??_0?$complex@O@std@@QAEAAV01@ABO@Z */
1855 /* ??_0?$complex@O@std@@QEAAAEAV01@AEBO@Z */
1856 DEFINE_THISCALL_WRAPPER(complex_double_div_assign_double
, 8)
1857 complex_double
* __thiscall
complex_double_div_assign_double(complex_double
*this, const double *r
)
1864 /* ??_0?$complex@N@std@@QAEAAV01@ABV01@@Z */
1865 /* ??_0?$complex@N@std@@QEAAAEAV01@AEBV01@@Z */
1866 /* ??_0?$complex@O@std@@QAEAAV01@ABV01@@Z */
1867 /* ??_0?$complex@O@std@@QEAAAEAV01@AEBV01@@Z */
1868 DEFINE_THISCALL_WRAPPER(complex_double_div_assign
, 8)
1869 complex_double
* __thiscall
complex_double_div_assign(complex_double
*this, const complex_double
*r
)
1871 complex_double tmp
= *this;
1872 return complex_double_div(this, &tmp
, r
);
1875 /* ??$arg@N@std@@YANABV?$complex@N@0@@Z */
1876 /* ??$arg@N@std@@YANAEBV?$complex@N@0@@Z */
1877 /* ??$arg@O@std@@YAOABV?$complex@O@0@@Z */
1878 /* ??$arg@O@std@@YAOAEBV?$complex@O@0@@Z */
1879 double __cdecl
complex_double_arg(const complex_double
*c
)
1881 return atan2(c
->imag
, c
->real
);
1884 /* ??$imag@N@std@@YANABV?$complex@N@0@@Z */
1885 /* ??$imag@N@std@@YANAEBV?$complex@N@0@@Z */
1886 /* ??$imag@O@std@@YAOABV?$complex@O@0@@Z */
1887 /* ??$imag@O@std@@YAOAEBV?$complex@O@0@@Z */
1888 double __cdecl
complex_double_imag(const complex_double
*c
)
1893 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QAENABN@Z */
1894 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QEAANAEBN@Z */
1895 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QAEOABO@Z */
1896 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAAOAEBO@Z */
1897 DEFINE_THISCALL_WRAPPER(complex_double_imag_set
, 8)
1898 double __thiscall
complex_double_imag_set(complex_double
*this, const double *d
)
1900 return (this->imag
= *d
);
1903 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QBENXZ */
1904 /* ?imag@?$_Complex_base@NU_C_double_complex@@@std@@QEBANXZ */
1905 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QBEOXZ */
1906 /* ?imag@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEBAOXZ */
1907 DEFINE_THISCALL_WRAPPER(complex_double_imag_get
, 4)
1908 double __thiscall
complex_double_imag_get(const complex_double
*this)
1913 /* ??$real@N@std@@YANABV?$complex@N@0@@Z */
1914 /* ??$real@N@std@@YANAEBV?$complex@N@0@@Z */
1915 /* ??$real@O@std@@YAOABV?$complex@O@0@@Z */
1916 /* ??$real@O@std@@YAOAEBV?$complex@O@0@@Z */
1917 double __cdecl
complex_double_real(const complex_double
*c
)
1922 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QAENABN@Z */
1923 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QEAANAEBN@Z */
1924 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QAEOABO@Z */
1925 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEAAOAEBO@Z */
1926 DEFINE_THISCALL_WRAPPER(complex_double_real_set
, 8)
1927 double __thiscall
complex_double_real_set(complex_double
*this, const double *d
)
1929 return (this->real
= *d
);
1932 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QBENXZ */
1933 /* ?real@?$_Complex_base@NU_C_double_complex@@@std@@QEBANXZ */
1934 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QBEOXZ */
1935 /* ?real@?$_Complex_base@OU_C_ldouble_complex@@@std@@QEBAOXZ */
1936 DEFINE_THISCALL_WRAPPER(complex_double_real_get
, 4)
1937 double __thiscall
complex_double_real_get(const complex_double
*this)
1942 /* ??$_Fabs@N@std@@YANABV?$complex@N@0@PAH@Z */
1943 /* ??$_Fabs@N@std@@YANAEBV?$complex@N@0@PEAH@Z */
1944 /* ??$_Fabs@O@std@@YAOABV?$complex@O@0@PAH@Z */
1945 /* ??$_Fabs@O@std@@YAOAEBV?$complex@O@0@PEAH@Z */
1946 double __cdecl
complex_double__Fabs(const complex_double
*c
, int *scale
)
1950 ret
= hypot(c
->real
, c
->imag
);
1951 if(_isnan(ret
) || ret
==0) {
1953 }else if(ret
>= 1) {
1964 /* ??$abs@N@std@@YANABV?$complex@N@0@@Z */
1965 /* ??$abs@N@std@@YANAEBV?$complex@N@0@@Z */
1966 /* ??$abs@O@std@@YAOABV?$complex@O@0@@Z */
1967 /* ??$abs@O@std@@YAOAEBV?$complex@O@0@@Z */
1968 double __cdecl
complex_double_abs(const complex_double
*c
)
1970 return hypot(c
->real
, c
->imag
);
1973 /* ??$conj@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
1974 /* ??$conj@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1975 /* ??$conj@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
1976 /* ??$conj@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1977 complex_double
* __cdecl
complex_double_conj(complex_double
*ret
, const complex_double
*c
)
1979 ret
->real
= c
->real
;
1980 ret
->imag
= -c
->imag
;
1984 /* ??$cos@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
1985 /* ??$cos@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1986 /* ??$cos@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
1987 /* ??$cos@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1988 complex_double
* __cdecl
complex_double_cos(complex_double
*ret
, const complex_double
*c
)
1990 ret
->real
= cos(c
->real
)*cosh(c
->imag
);
1991 ret
->imag
= -sin(c
->real
)*sinh(c
->imag
);
1995 /* ??$sin@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
1996 /* ??$sin@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
1997 /* ??$sin@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
1998 /* ??$sin@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
1999 complex_double
* __cdecl
complex_double_sin(complex_double
*ret
, const complex_double
*c
)
2001 ret
->real
= sin(c
->real
)*cosh(c
->imag
);
2002 ret
->imag
= cos(c
->real
)*sinh(c
->imag
);
2006 /* ??$tan@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2007 /* ??$tan@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2008 /* ??$tan@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2009 /* ??$tan@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2010 complex_double
* __cdecl
complex_double_tan(complex_double
*ret
, const complex_double
*c
)
2012 double denom
= cos(2*c
->real
) + cosh(2*c
->imag
);
2013 ret
->real
= sin(2*c
->real
) / denom
;
2014 ret
->imag
= sinh(2*c
->imag
) / denom
;
2018 /* ??$cosh@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2019 /* ??$cosh@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2020 /* ??$cosh@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2021 /* ??$cosh@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2022 complex_double
* __cdecl
complex_double_cosh(complex_double
*ret
, const complex_double
*c
)
2024 ret
->real
= cosh(c
->real
)*cos(c
->imag
);
2025 ret
->imag
= sinh(c
->real
)*sin(c
->imag
);
2029 /* ??$sinh@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2030 /* ??$sinh@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2031 /* ??$sinh@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2032 /* ??$sinh@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2033 complex_double
* __cdecl
complex_double_sinh(complex_double
*ret
, const complex_double
*c
)
2035 ret
->real
= sinh(c
->real
)*cos(c
->imag
);
2036 ret
->imag
= cosh(c
->real
)*sin(c
->imag
);
2040 /* ??$tanh@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2041 /* ??$tanh@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2042 /* ??$tanh@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2043 /* ??$tanh@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2044 complex_double
* __cdecl
complex_double_tanh(complex_double
*ret
, const complex_double
*c
)
2048 ret
->real
= -c
->imag
;
2049 ret
->imag
= c
->real
;
2050 complex_double_tan(&tmp
, ret
);
2051 ret
->real
= tmp
.imag
;
2052 ret
->imag
= -tmp
.real
;
2056 /* ??$exp@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2057 /* ??$exp@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2058 /* ??$exp@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2059 /* ??$exp@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2060 complex_double
* __cdecl
complex_double_exp(complex_double
*ret
, const complex_double
*c
)
2062 ret
->real
= ret
->imag
= exp(c
->real
);
2063 ret
->real
*= cos(c
->imag
);
2064 ret
->imag
*= sin(c
->imag
);
2068 /* ??$log@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2069 /* ??$log@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2070 /* ??$log@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2071 /* ??$log@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2072 complex_double
* __cdecl
complex_double_log(complex_double
*ret
, const complex_double
*c
)
2074 ret
->real
= log(complex_double_abs(c
));
2075 ret
->imag
= complex_double_arg(c
);
2079 /* ??$log10@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2080 /* ??$log10@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2081 /* ??$log10@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2082 /* ??$log10@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2083 complex_double
* __cdecl
complex_double_log10(complex_double
*ret
, const complex_double
*c
)
2085 complex_double_log(ret
, c
);
2086 ret
->real
*= M_LOG10E
;
2087 ret
->imag
*= M_LOG10E
;
2091 /* ??$norm@N@std@@YANABV?$complex@N@0@@Z */
2092 /* ??$norm@N@std@@YANAEBV?$complex@N@0@@Z */
2093 /* ??$norm@O@std@@YAOABV?$complex@O@0@@Z */
2094 /* ??$norm@O@std@@YAOAEBV?$complex@O@0@@Z */
2095 double __cdecl
complex_double_norm(const complex_double
*c
)
2097 return c
->real
*c
->real
+ c
->imag
*c
->imag
;
2100 /* ??$polar@N@std@@YA?AV?$complex@N@0@ABN0@Z */
2101 /* ??$polar@N@std@@YA?AV?$complex@N@0@AEBN0@Z */
2102 /* ??$polar@O@std@@YA?AV?$complex@O@0@ABO0@Z */
2103 /* ??$polar@O@std@@YA?AV?$complex@O@0@AEBO0@Z */
2104 complex_double
* __cdecl
complex_double_polar_theta(complex_double
*ret
, const double *mod
, const double *theta
)
2106 ret
->real
= *mod
* cos(*theta
);
2107 ret
->imag
= *mod
* sin(*theta
);
2111 /* ??$polar@N@std@@YA?AV?$complex@N@0@ABN@Z */
2112 /* ??$polar@N@std@@YA?AV?$complex@N@0@AEBN@Z */
2113 /* ??$polar@O@std@@YA?AV?$complex@O@0@ABO@Z */
2114 /* ??$polar@O@std@@YA?AV?$complex@O@0@AEBO@Z */
2115 complex_double
* __cdecl
complex_double_polar(complex_double
*ret
, const double *mod
)
2122 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABV10@0@Z */
2123 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBV10@0@Z */
2124 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABV10@0@Z */
2125 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBV10@0@Z */
2126 complex_double
* __cdecl
complex_double_pow(complex_double
*ret
, const complex_double
*l
, const complex_double
*r
)
2128 double abs
= complex_double_abs(l
), arg
= complex_double_arg(l
);
2129 double rad
= pow(abs
, r
->real
), theta
= r
->real
*arg
;
2132 rad
*= exp(-r
->imag
* arg
);
2133 theta
+= r
->imag
* log(abs
);
2136 ret
->real
= rad
* cos(theta
);
2137 ret
->imag
= rad
* sin(theta
);
2141 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABNABV10@@Z */
2142 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBNAEBV10@@Z */
2143 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABOABV10@@Z */
2144 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBOAEBV10@@Z */
2145 complex_double
* __cdecl
complex_double_pow_dc(complex_double
*ret
, const double *l
, const complex_double
*r
)
2147 complex_double c
= { *l
, 0 };
2148 return complex_double_pow(ret
, &c
, r
);
2151 /* ??$pow@N@std@@YA?AV?$complex@N@0@ABV10@ABN@Z */
2152 /* ??$pow@N@std@@YA?AV?$complex@N@0@AEBV10@AEBN@Z */
2153 /* ??$pow@O@std@@YA?AV?$complex@O@0@ABV10@ABO@Z */
2154 /* ??$pow@O@std@@YA?AV?$complex@O@0@AEBV10@AEBO@Z */
2155 complex_double
* __cdecl
complex_double_pow_cd(complex_double
*ret
, const complex_double
*l
, const double *r
)
2157 complex_double c
= { *r
, 0 };
2158 return complex_double_pow(ret
, l
, &c
);
2161 /* ??$sqrt@N@std@@YA?AV?$complex@N@0@ABV10@@Z */
2162 /* ??$sqrt@N@std@@YA?AV?$complex@N@0@AEBV10@@Z */
2163 /* ??$sqrt@O@std@@YA?AV?$complex@O@0@ABV10@@Z */
2164 /* ??$sqrt@O@std@@YA?AV?$complex@O@0@AEBV10@@Z */
2165 complex_double
* __cdecl
complex_double_sqrt(complex_double
*ret
, const complex_double
*l
)
2167 complex_double c
= { 0.5, 0 };
2168 return complex_double_pow(ret
, l
, &c
);