From 4f2f3545e59c00aac92448aebe7484467a8cedce Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 3 Dec 2020 19:10:57 +0100 Subject: [PATCH] msvcrt: Remove MSVCRT_ prefix from math.c functions. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/crtdll/crtdll.spec | 96 +++--- dlls/msvcr100/msvcr100.spec | 206 ++++++------ dlls/msvcr110/msvcr110.spec | 230 +++++++------- dlls/msvcr120/msvcr120.spec | 420 ++++++++++++------------- dlls/msvcr70/msvcr70.spec | 98 +++--- dlls/msvcr71/msvcr71.spec | 98 +++--- dlls/msvcr80/msvcr80.spec | 202 ++++++------ dlls/msvcr90/msvcr90.spec | 200 ++++++------ dlls/msvcrt/math.c | 634 ++++++++++++++++++------------------- dlls/msvcrt/msvcrt.h | 3 - dlls/msvcrt/msvcrt.spec | 214 ++++++------- dlls/msvcrt/printf.h | 6 +- dlls/msvcrt/string.c | 2 +- dlls/msvcrtd/msvcrtd.spec | 96 +++--- dlls/ucrtbase/ucrtbase.spec | 750 ++++++++++++++++++++++---------------------- include/msvcrt/math.h | 31 +- 16 files changed, 1649 insertions(+), 1637 deletions(-) diff --git a/dlls/crtdll/crtdll.spec b/dlls/crtdll/crtdll.spec index dd62106ec5b..338aee78105 100644 --- a/dlls/crtdll/crtdll.spec +++ b/dlls/crtdll/crtdll.spec @@ -50,12 +50,12 @@ @ cdecl _beep(long long) @ cdecl _beginthread(ptr long ptr) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _cexit() @ cdecl _cgets(ptr) @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign +@ cdecl _chgsign(double) @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @ cdecl _clearfp() @@ -64,7 +64,7 @@ @ extern _commode_dll MSVCRT__commode @ cdecl _control87(long long) @ cdecl _controlfp(long long) -@ cdecl _copysign(double double) MSVCRT__copysign +@ cdecl _copysign(double double) @ varargs _cprintf(str) @ extern _cpumode_dll CRTDLL__cpumode_dll @ cdecl _cputs(str) @@ -75,7 +75,7 @@ @ extern _daylight_dll MSVCRT___daylight @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt +@ cdecl _ecvt(double long ptr ptr) @ cdecl _endthread() @ extern _environ_dll MSVCRT__environ @ cdecl _eof(long) MSVCRT__eof @@ -92,7 +92,7 @@ @ cdecl _exit(long) @ cdecl _expand(ptr long) @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt +@ cdecl _fcvt(double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fgetchar() MSVCRT__fgetchar @ cdecl _fgetwchar() MSVCRT__fgetwchar @@ -103,11 +103,11 @@ @ cdecl _findclose(long) MSVCRT__findclose @ cdecl _findfirst(str ptr) MSVCRT__findfirst @ cdecl _findnext(long ptr) MSVCRT__findnext -@ cdecl _finite(double) MSVCRT__finite +@ cdecl _finite(double) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode_dll MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass +@ cdecl _fpclass(double) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ cdecl _fputchar(long) MSVCRT__fputchar @@ -116,11 +116,11 @@ @ cdecl _fstat(long ptr) MSVCRT__fstat @ cdecl -arch=win32 _ftime(ptr) _ftime32 @ cdecl -arch=win64 _ftime(ptr) _ftime64 -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl -arch=win32 _futime(long ptr) _futime32 @ cdecl -arch=win64 _futime(long ptr) _futime64 -@ cdecl _gcvt(double long str) MSVCRT__gcvt +@ cdecl _gcvt(double long str) @ cdecl _get_osfhandle(long) MSVCRT__get_osfhandle @ cdecl _getch() @ cdecl _getche() @@ -168,26 +168,26 @@ @ cdecl _ismbcupper(long) @ cdecl _ismbslead(ptr ptr) @ cdecl _ismbstrail(ptr ptr) -@ cdecl _isnan(double) MSVCRT__isnan +@ cdecl _isnan(double) @ cdecl _itoa(long ptr long) @ cdecl _itow(long ptr long) ntdll._itow -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _loaddll(str) @ cdecl -arch=i386 _local_unwind2(ptr long) @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _logb(double) +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ cdecl _lseek(long long long) MSVCRT__lseek @ cdecl _ltoa(long ptr long) ntdll._ltoa @ cdecl _ltow(long ptr long) ntdll._ltow @ cdecl _makepath(ptr str str str str) MSVCRT__makepath -@ cdecl _matherr(ptr) MSVCRT__matherr +@ cdecl _matherr(ptr) @ cdecl _mbbtombc(long) @ cdecl _mbbtype(long long) @ cdecl _mbccpy(ptr ptr) @@ -241,7 +241,7 @@ @ cdecl _mkdir(str) MSVCRT__mkdir @ cdecl _mktemp(str) MSVCRT__mktemp @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter +@ cdecl _nextafter(double double) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -265,7 +265,7 @@ @ cdecl _rmtmp() MSVCRT__rmtmp @ cdecl _rotl(long long) @ cdecl _rotr(long long) -@ cdecl _scalb(double long) MSVCRT__scalb +@ cdecl _scalb(double long) @ cdecl _searchenv(str str ptr) MSVCRT__searchenv @ cdecl _seterrormode(long) @ cdecl -arch=i386,x86_64,arm,arm64 -norelay _setjmp(ptr) MSVCRT__setjmp @@ -339,35 +339,35 @@ @ cdecl _write(long ptr long) MSVCRT__write @ cdecl _wtoi(wstr) @ cdecl _wtol(wstr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos +@ cdecl abs(long) +@ cdecl acos(double) @ cdecl asctime(ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 +@ cdecl asin(double) +@ cdecl atan(double) +@ cdecl atan2(double double) @ cdecl -private atexit(ptr) MSVCRT_atexit @ cdecl atof(str) @ cdecl atoi(str) @ cdecl atol(str) @ cdecl bsearch(ptr ptr long long ptr) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil +@ cdecl ceil(double) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl cosh(double) MSVCRT_cosh +@ cdecl cos(double) +@ cdecl cosh(double) @ cdecl -arch=win32 ctime(ptr) _ctime32 @ cdecl -arch=win64 ctime(ptr) _ctime64 @ cdecl -arch=win32 difftime(long long) _difftime32 @ cdecl -arch=win64 difftime(long long) _difftime64 -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -376,8 +376,8 @@ @ cdecl fgetpos(ptr ptr) MSVCRT_fgetpos @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc -@ cdecl floor(double) MSVCRT_floor -@ cdecl fmod(double double) MSVCRT_fmod +@ cdecl floor(double) +@ cdecl fmod(double double) @ cdecl fopen(str str) MSVCRT_fopen @ varargs fprintf(ptr str) MSVCRT_fprintf @ cdecl fputc(long ptr) MSVCRT_fputc @@ -386,7 +386,7 @@ @ cdecl fread(ptr long long ptr) MSVCRT_fread @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @ cdecl fsetpos(ptr ptr) MSVCRT_fsetpos @@ -426,14 +426,14 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() @ cdecl -arch=win32 localtime(ptr) _localtime32 @ cdecl -arch=win64 localtime(ptr) _localtime64 -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 +@ cdecl log(double) +@ cdecl log10(double) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -446,9 +446,9 @@ @ cdecl memset(ptr long long) @ cdecl -arch=win32 mktime(ptr) _mktime32 @ cdecl -arch=win64 mktime(ptr) _mktime64 -@ cdecl modf(double ptr) MSVCRT_modf +@ cdecl modf(double ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow +@ cdecl pow(double double) @ varargs printf(str) MSVCRT_printf @ cdecl putc(long ptr) MSVCRT_putc @ cdecl putchar(long) MSVCRT_putchar @@ -465,10 +465,10 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl sinh(double) MSVCRT_sinh +@ cdecl sin(double) +@ cdecl sinh(double) @ varargs sprintf(ptr str) -@ cdecl sqrt(double) MSVCRT_sqrt +@ cdecl sqrt(double) @ cdecl srand(long) @ varargs sscanf(str str) @ cdecl strcat(str str) @@ -495,8 +495,8 @@ @ varargs swprintf(ptr wstr) _swprintf @ varargs swscanf(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl tanh(double) MSVCRT_tanh +@ cdecl tan(double) +@ cdecl tanh(double) @ cdecl -arch=win32 time(ptr) _time32 @ cdecl -arch=win64 time(ptr) _time64 @ cdecl tmpfile() MSVCRT_tmpfile diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec index 4eef42621e1..9585a5387b4 100644 --- a/dlls/msvcr100/msvcr100.spec +++ b/dlls/msvcr100/msvcr100.spec @@ -602,27 +602,27 @@ @ stub __iswcsymf # extern __lconv @ cdecl __lconv_init() -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ extern __mb_cur_max MSVCRT___mb_cur_max @ cdecl __p___argc() @ cdecl __p___argv() @@ -655,7 +655,7 @@ @ cdecl __set_app_type(long) @ stub __set_flsgetvalue @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __strncnt(str long) @ varargs __swprintf_l(ptr wstr ptr) @ cdecl __sys_errlist() @@ -709,7 +709,7 @@ @ cdecl _byteswap_ulong(long) @ cdecl _byteswap_ushort(long) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_crt(long long) calloc @ cdecl _cexit() @@ -719,8 +719,8 @@ @ stub _cgetws_s @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign -@ cdecl -arch=!i386 _chgsignf(float) MSVCRT__chgsignf +@ cdecl _chgsign(double) +@ cdecl -arch=!i386 _chgsignf(float) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -733,8 +733,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl -arch=!i386 _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl -arch=!i386 _copysignf(float float) @ varargs _cprintf(str) @ stub _cprintf_l @ stub _cprintf_p @@ -774,8 +774,8 @@ @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 @ cdecl _dupenv_s(ptr ptr str) -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _encoded_null() @ cdecl _endthread() @ cdecl _endthreadex(long) @@ -797,8 +797,8 @@ @ cdecl _expand(ptr long) @ cdecl _fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock @@ -818,13 +818,13 @@ @ stub _findnext32i64 @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ stub _fprintf_l @@ -858,7 +858,7 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl _futime32(long ptr) @ cdecl _futime64(long ptr) @@ -869,8 +869,8 @@ @ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock @ varargs _fwscanf_l(ptr wstr ptr) @ varargs _fwscanf_s_l(ptr wstr ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) @ cdecl _get_current_locale() @ cdecl _get_daylight(ptr) @ cdecl _get_doserrno(ptr) @@ -926,7 +926,7 @@ @ stub _heapused(ptr ptr) @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -1010,8 +1010,8 @@ @ stub _ismbslead_l @ cdecl _ismbstrail(ptr ptr) @ stub _ismbstrail_l -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _ispunct_l(long ptr) @ cdecl _isspace_l(long ptr) @@ -1035,9 +1035,9 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) @@ -1052,11 +1052,11 @@ @ cdecl _lock(long) @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ stub _lsearch_s @ cdecl _lseek(long long long) MSVCRT__lseek @@ -1215,8 +1215,8 @@ @ cdecl _mktime32(ptr) @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -1255,8 +1255,8 @@ @ cdecl -ret64 _rotl64(int64 long) @ cdecl _rotr(long long) @ cdecl -ret64 _rotr64(int64 long) -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ varargs _scanf_l(str ptr) @ varargs _scanf_s_l(str ptr) @ varargs _scprintf(str) @@ -1271,7 +1271,7 @@ @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl _set_SSE2_enable(long) @ cdecl _set_abort_behavior(long long) @ cdecl _set_controlfp(long long) @ cdecl _set_doserrno(long) @@ -1621,21 +1621,21 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl atan(double) MSVCRT_atan -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f +@ cdecl asin(double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl atan(double) +@ cdecl -arch=!i386 atanf(float) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 atan2f(float float) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @@ -1644,20 +1644,20 @@ @ cdecl bsearch_s(ptr ptr long long ptr ptr) @ cdecl btowc(long) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clearerr_s(ptr) MSVCRT_clearerr_s @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl cos(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl cosh(double) +@ cdecl -arch=!i386 coshf(float) +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl -arch=!i386 expf(float) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -1667,10 +1667,10 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ varargs fprintf(ptr str) MSVCRT_fprintf @@ -1684,7 +1684,7 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ varargs fscanf_s(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @@ -1729,16 +1729,16 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv -@ cdecl -ret64 llabs(int64) MSVCRT_llabs -@ cdecl lldiv(int64 int64) MSVCRT_lldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) +@ cdecl -ret64 llabs(int64) +@ cdecl lldiv(int64 int64) @ cdecl localeconv() -@ cdecl log(double) MSVCRT_log -@ cdecl -arch=!i386 logf(float) MSVCRT_logf -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f +@ cdecl log(double) +@ cdecl -arch=!i386 logf(float) +@ cdecl log10(double) +@ cdecl -arch=!i386 log10f(float) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -1756,11 +1756,11 @@ @ cdecl memmove(ptr ptr long) @ cdecl memmove_s(ptr long ptr long) @ cdecl memset(ptr long long) -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ varargs printf(str) MSVCRT_printf @ varargs printf_s(str) MSVCRT_printf_s @ cdecl putc(long ptr) MSVCRT_putc @@ -1784,14 +1784,14 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf +@ cdecl sin(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinhf(float) @ varargs sprintf(ptr str) @ varargs sprintf_s(ptr long str) -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ varargs sscanf(str str) @ varargs sscanf_s(str str) @@ -1827,10 +1827,10 @@ @ varargs swscanf(wstr wstr) @ varargs swscanf_s(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf +@ cdecl tan(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanhf(float) @ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl tmpnam(ptr) MSVCRT_tmpnam diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec index e53f472772a..ff721150fe9 100644 --- a/dlls/msvcr110/msvcr110.spec +++ b/dlls/msvcr110/msvcr110.spec @@ -951,27 +951,27 @@ @ stub -arch=arm __jump_unwind # extern __lconv @ cdecl __lconv_init() -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ extern __mb_cur_max MSVCRT___mb_cur_max @ cdecl __p___argc() @ cdecl __p___argv() @@ -1003,7 +1003,7 @@ @ stub __report_gsfailure @ cdecl __set_app_type(long) @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __strncnt(str long) @ varargs __swprintf_l(ptr wstr ptr) @ cdecl __sys_errlist() @@ -1057,7 +1057,7 @@ @ cdecl _byteswap_ulong(long) @ cdecl _byteswap_ushort(long) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_crt(long long) calloc @ cdecl _cexit() @@ -1067,8 +1067,8 @@ @ stub _cgetws_s @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign -@ cdecl -arch=!i386 _chgsignf(float) MSVCRT__chgsignf +@ cdecl _chgsign(double) +@ cdecl -arch=!i386 _chgsignf(float) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -1081,8 +1081,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl -arch=!i386 _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl -arch=!i386 _copysignf(float float) @ varargs _cprintf(str) @ stub _cprintf_l @ stub _cprintf_p @@ -1122,8 +1122,8 @@ @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 @ cdecl _dupenv_s(ptr ptr str) -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _endthread() @ cdecl _endthreadex(long) @ extern _environ MSVCRT__environ @@ -1144,8 +1144,8 @@ @ cdecl _expand(ptr long) @ cdecl _fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock @@ -1165,13 +1165,13 @@ @ stub _findnext32i64 @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ stub _fprintf_l @@ -1205,7 +1205,7 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl _futime32(long ptr) @ cdecl _futime64(long ptr) @@ -1216,8 +1216,8 @@ @ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock @ varargs _fwscanf_l(ptr wstr ptr) @ varargs _fwscanf_s_l(ptr wstr ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) @ cdecl _get_current_locale() @ cdecl _get_daylight(ptr) @ cdecl _get_doserrno(ptr) @@ -1272,7 +1272,7 @@ @ stub _heapused(ptr ptr) @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -1356,8 +1356,8 @@ @ stub _ismbslead_l @ cdecl _ismbstrail(ptr ptr) @ stub _ismbstrail_l -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _ispunct_l(long ptr) @ cdecl _isspace_l(long ptr) @@ -1381,23 +1381,23 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) -@ cdecl -arch=i386 -norelay _libm_sse2_acos_precise() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay _libm_sse2_asin_precise() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay _libm_sse2_atan_precise() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay _libm_sse2_cos_precise() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay _libm_sse2_exp_precise() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay _libm_sse2_log10_precise() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay _libm_sse2_log_precise() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay _libm_sse2_pow_precise() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay _libm_sse2_sin_precise() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay _libm_sse2_sqrt_precise() MSVCRT___libm_sse2_sqrt_precise -@ cdecl -arch=i386 -norelay _libm_sse2_tan_precise() MSVCRT___libm_sse2_tan +@ cdecl -arch=i386 -norelay _libm_sse2_acos_precise() __libm_sse2_acos +@ cdecl -arch=i386 -norelay _libm_sse2_asin_precise() __libm_sse2_asin +@ cdecl -arch=i386 -norelay _libm_sse2_atan_precise() __libm_sse2_atan +@ cdecl -arch=i386 -norelay _libm_sse2_cos_precise() __libm_sse2_cos +@ cdecl -arch=i386 -norelay _libm_sse2_exp_precise() __libm_sse2_exp +@ cdecl -arch=i386 -norelay _libm_sse2_log10_precise() __libm_sse2_log10 +@ cdecl -arch=i386 -norelay _libm_sse2_log_precise() __libm_sse2_log +@ cdecl -arch=i386 -norelay _libm_sse2_pow_precise() __libm_sse2_pow +@ cdecl -arch=i386 -norelay _libm_sse2_sin_precise() __libm_sse2_sin +@ cdecl -arch=i386 -norelay _libm_sse2_sqrt_precise() __libm_sse2_sqrt_precise +@ cdecl -arch=i386 -norelay _libm_sse2_tan_precise() __libm_sse2_tan @ cdecl _loaddll(str) @ cdecl -arch=x86_64 _local_unwind(ptr ptr) @ cdecl -arch=i386 _local_unwind2(ptr long) @@ -1409,11 +1409,11 @@ @ cdecl _lock(long) @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ stub _lsearch_s @ cdecl _lseek(long long long) MSVCRT__lseek @@ -1572,8 +1572,8 @@ @ cdecl _mktime32(ptr) @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -1612,8 +1612,8 @@ @ cdecl -ret64 _rotl64(int64 long) @ cdecl _rotr(long long) @ cdecl -ret64 _rotr64(int64 long) -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ varargs _scanf_l(str ptr) @ varargs _scanf_s_l(str ptr) @ varargs _scprintf(str) @@ -1628,7 +1628,7 @@ @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl -arch=i386 _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl -arch=i386 _set_SSE2_enable(long) @ cdecl _set_abort_behavior(long long) @ cdecl _set_controlfp(long long) @ cdecl _set_doserrno(long) @@ -1978,21 +1978,21 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl atan(double) MSVCRT_atan -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f +@ cdecl asin(double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl atan(double) +@ cdecl -arch=!i386 atanf(float) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 atan2f(float float) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @@ -2001,21 +2001,21 @@ @ cdecl bsearch_s(ptr ptr long long ptr ptr) @ cdecl btowc(long) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clearerr_s(ptr) MSVCRT_clearerr_s @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl cos(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl cosh(double) +@ cdecl -arch=!i386 coshf(float) +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl fabs(double) MSVCRT_fabs -@ cdecl -arch=!i386 fabsf(float) MSVCRT_fabsf +@ cdecl exp(double) +@ cdecl -arch=!i386 expf(float) +@ cdecl fabs(double) +@ cdecl -arch=!i386 fabsf(float) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -2025,10 +2025,10 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ varargs fprintf(ptr str) MSVCRT_fprintf @@ -2042,7 +2042,7 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ varargs fscanf_s(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @@ -2087,16 +2087,16 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv -@ cdecl -ret64 llabs(int64) MSVCRT_llabs -@ cdecl lldiv(int64 int64) MSVCRT_lldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) +@ cdecl -ret64 llabs(int64) +@ cdecl lldiv(int64 int64) @ cdecl localeconv() -@ cdecl log(double) MSVCRT_log -@ cdecl -arch=!i386 logf(float) MSVCRT_logf -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f +@ cdecl log(double) +@ cdecl -arch=!i386 logf(float) +@ cdecl log10(double) +@ cdecl -arch=!i386 log10f(float) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -2114,11 +2114,11 @@ @ cdecl memmove(ptr ptr long) @ cdecl memmove_s(ptr long ptr long) @ cdecl memset(ptr long long) -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ varargs printf(str) MSVCRT_printf @ varargs printf_s(str) MSVCRT_printf_s @ cdecl putc(long ptr) MSVCRT_putc @@ -2142,14 +2142,14 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf +@ cdecl sin(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinhf(float) @ varargs sprintf(ptr str) @ varargs sprintf_s(ptr long str) -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ varargs sscanf(str str) @ varargs sscanf_s(str str) @@ -2185,10 +2185,10 @@ @ varargs swscanf(wstr wstr) @ varargs swscanf_s(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf +@ cdecl tan(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanhf(float) @ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl tmpnam(ptr) MSVCRT_tmpnam diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec index a427680991f..f838626dbc0 100644 --- a/dlls/msvcr120/msvcr120.spec +++ b/dlls/msvcr120/msvcr120.spec @@ -824,7 +824,7 @@ @ cdecl -arch=i386 _CItanh() @ cdecl _CRT_RTC_INIT(ptr ptr long long long) @ cdecl _CRT_RTC_INITW(ptr ptr long long long) -@ cdecl _Cbuild(ptr double double) MSVCR120__Cbuild +@ cdecl _Cbuild(ptr double double) @ cdecl _CreateFrameInfo(ptr ptr) @ stdcall _CxxThrowException(ptr ptr) @ cdecl -arch=i386 -norelay _EH_prolog() @@ -941,27 +941,27 @@ @ stub -arch=arm __jump_unwind # extern __lconv @ cdecl __lconv_init() -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ extern __mb_cur_max MSVCRT___mb_cur_max @ cdecl __p___argc() @ cdecl __p___argv() @@ -993,7 +993,7 @@ @ stub __report_gsfailure @ cdecl __set_app_type(long) @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __strncnt(str long) @ varargs __swprintf_l(ptr wstr ptr) @ cdecl __sys_errlist() @@ -1048,7 +1048,7 @@ @ cdecl _byteswap_ulong(long) @ cdecl _byteswap_ushort(long) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_crt(long long) calloc @ cdecl _cexit() @@ -1058,8 +1058,8 @@ @ stub _cgetws_s @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign -@ cdecl _chgsignf(float) MSVCRT__chgsignf +@ cdecl _chgsign(double) +@ cdecl _chgsignf(float) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -1072,8 +1072,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl _copysignf(float float) @ varargs _cprintf(str) @ stub _cprintf_l @ stub _cprintf_p @@ -1106,19 +1106,19 @@ @ varargs _cwscanf_s(wstr) @ varargs _cwscanf_s_l(wstr ptr) @ extern _daylight MSVCRT___daylight -@ cdecl _dclass(double) MSVCR120__dclass +@ cdecl _dclass(double) @ cdecl _difftime32(long long) @ cdecl _difftime64(int64 int64) @ stub _dosmaperr -@ cdecl _dpcomp(double double) MSVCR120__dpcomp -@ cdecl _dsign(double) MSVCR120__dsign +@ cdecl _dpcomp(double double) +@ cdecl _dsign(double) @ extern _dstbias MSVCRT__dstbias -@ cdecl _dtest(ptr) MSVCR120__dtest +@ cdecl _dtest(ptr) @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 @ cdecl _dupenv_s(ptr ptr str) -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _endthread() @ cdecl _endthreadex(long) @ extern _environ MSVCRT__environ @@ -1140,13 +1140,13 @@ @ cdecl _expand(ptr long) @ cdecl _fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s -@ cdecl _fdclass(float) MSVCR120__fdclass +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) +@ cdecl _fdclass(float) @ cdecl _fdopen(long str) MSVCRT__fdopen -@ cdecl _fdpcomp(float float) MSVCR120__fdpcomp -@ cdecl _fdsign(float) MSVCR120__fdsign -@ cdecl _fdtest(ptr) MSVCR120__fdtest +@ cdecl _fdpcomp(float float) +@ cdecl _fdsign(float) +@ cdecl _fdtest(ptr) @ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock @ cdecl _fgetchar() MSVCRT__fgetchar @@ -1165,13 +1165,13 @@ @ stub _findnext32i64 @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ stub _fprintf_l @@ -1205,7 +1205,7 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl _futime32(long ptr) @ cdecl _futime64(long ptr) @@ -1216,8 +1216,8 @@ @ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock @ varargs _fwscanf_l(ptr wstr ptr) @ varargs _fwscanf_s_l(ptr wstr ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) @ cdecl _get_current_locale() @ cdecl _get_daylight(ptr) @ cdecl _get_doserrno(ptr) @@ -1272,7 +1272,7 @@ @ stub _heapused(ptr ptr) @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -1361,8 +1361,8 @@ @ stub _ismbslead_l @ cdecl _ismbstrail(ptr ptr) @ stub _ismbstrail_l -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _ispunct_l(long ptr) @ cdecl _isspace_l(long ptr) @@ -1387,27 +1387,27 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() -@ cdecl _ldclass(double) MSVCR120__ldclass -@ cdecl _ldpcomp(double double) MSVCR120__dpcomp -@ cdecl _ldsign(double) MSVCR120__dsign -@ cdecl _ldtest(ptr) MSVCR120__ldtest +@ cdecl _ldclass(double) +@ cdecl _ldpcomp(double double) _dpcomp +@ cdecl _ldsign(double) _dsign +@ cdecl _ldtest(ptr) @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) -@ cdecl -arch=i386 -norelay _libm_sse2_acos_precise() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay _libm_sse2_asin_precise() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay _libm_sse2_atan_precise() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay _libm_sse2_cos_precise() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay _libm_sse2_exp_precise() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay _libm_sse2_log10_precise() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay _libm_sse2_log_precise() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay _libm_sse2_pow_precise() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay _libm_sse2_sin_precise() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay _libm_sse2_sqrt_precise() MSVCRT___libm_sse2_sqrt_precise -@ cdecl -arch=i386 -norelay _libm_sse2_tan_precise() MSVCRT___libm_sse2_tan +@ cdecl -arch=i386 -norelay _libm_sse2_acos_precise() __libm_sse2_acos +@ cdecl -arch=i386 -norelay _libm_sse2_asin_precise() __libm_sse2_asin +@ cdecl -arch=i386 -norelay _libm_sse2_atan_precise() __libm_sse2_atan +@ cdecl -arch=i386 -norelay _libm_sse2_cos_precise() __libm_sse2_cos +@ cdecl -arch=i386 -norelay _libm_sse2_exp_precise() __libm_sse2_exp +@ cdecl -arch=i386 -norelay _libm_sse2_log10_precise() __libm_sse2_log10 +@ cdecl -arch=i386 -norelay _libm_sse2_log_precise() __libm_sse2_log +@ cdecl -arch=i386 -norelay _libm_sse2_pow_precise() __libm_sse2_pow +@ cdecl -arch=i386 -norelay _libm_sse2_sin_precise() __libm_sse2_sin +@ cdecl -arch=i386 -norelay _libm_sse2_sqrt_precise() __libm_sse2_sqrt_precise +@ cdecl -arch=i386 -norelay _libm_sse2_tan_precise() __libm_sse2_tan @ cdecl _loaddll(str) @ cdecl -arch=x86_64 _local_unwind(ptr ptr) @ cdecl -arch=i386 _local_unwind2(ptr long) @@ -1419,11 +1419,11 @@ @ cdecl _lock(long) @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ stub _lsearch_s @ cdecl _lseek(long long long) MSVCRT__lseek @@ -1582,8 +1582,8 @@ @ cdecl _mktime32(ptr) @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -1622,8 +1622,8 @@ @ cdecl -ret64 _rotl64(int64 long) @ cdecl _rotr(long long) @ cdecl -ret64 _rotr64(int64 long) -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ varargs _scanf_l(str ptr) @ varargs _scanf_s_l(str ptr) @ varargs _scprintf(str) @@ -1638,8 +1638,8 @@ @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl -arch=i386 _set_SSE2_enable(long) MSVCRT__set_SSE2_enable -@ cdecl -arch=win64 _set_FMA3_enable(long) MSVCRT__set_FMA3_enable +@ cdecl -arch=i386 _set_SSE2_enable(long) +@ cdecl -arch=win64 _set_FMA3_enable(long) @ cdecl _set_abort_behavior(long long) @ cdecl _set_controlfp(long long) @ cdecl _set_doserrno(long) @@ -2004,29 +2004,29 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf -@ cdecl acosh(double) MSVCR120_acosh -@ cdecl acoshf(float) MSVCR120_acoshf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) +@ cdecl acosh(double) +@ cdecl acoshf(float) @ cdecl acoshl(double) MSVCR120_acoshl @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl asinh(double) MSVCR120_asinh -@ cdecl asinhf(float) MSVCR120_asinhf +@ cdecl asin(double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl asinh(double) +@ cdecl asinhf(float) @ cdecl asinhl(double) MSVCR120_asinhl -@ cdecl atan(double) MSVCRT_atan -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f -@ cdecl atanh(double) MSVCR120_atanh -@ cdecl atanhf(float) MSVCR120_atanhf +@ cdecl atan(double) +@ cdecl -arch=!i386 atanf(float) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 atan2f(float float) +@ cdecl atanh(double) +@ cdecl atanhf(float) @ cdecl atanhl(double) MSVCR120_atanhl @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @@ -2061,8 +2061,8 @@ @ stub catanhf @ stub catanhl @ stub catanl -@ cdecl cbrt(double) MSVCR120_cbrt -@ cdecl cbrtf(float) MSVCR120_cbrtf +@ cdecl cbrt(double) +@ cdecl cbrtf(float) @ cdecl cbrtl(double) MSVCR120_cbrtl @ stub ccos @ stub ccosf @@ -2070,8 +2070,8 @@ @ stub ccoshf @ stub ccoshl @ stub ccosl -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ stub cexp @ stub cexpf @ stub cexpl @@ -2090,13 +2090,13 @@ @ stub conj @ stub conjf @ stub conjl -@ cdecl copysign(double double) MSVCRT__copysign -@ cdecl copysignf(float float) MSVCRT__copysignf -@ cdecl copysignl(double double) MSVCRT__copysign -@ cdecl cos(double) MSVCRT_cos -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf +@ cdecl copysign(double double) _copysign +@ cdecl copysignf(float float) _copysignf +@ cdecl copysignl(double double) _copysign +@ cdecl cos(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl cosh(double) +@ cdecl -arch=!i386 coshf(float) @ stub cpow @ stub cpowf @ stub cpowl @@ -2121,39 +2121,39 @@ @ stub ctanhf @ stub ctanhl @ stub ctanl -@ cdecl -ret64 div(long long) MSVCRT_div -@ cdecl erf(double) MSVCR120_erf -@ cdecl erfc(double) MSVCR120_erfc -@ cdecl erfcf(float) MSVCR120_erfcf +@ cdecl -ret64 div(long long) +@ cdecl erf(double) +@ cdecl erfc(double) +@ cdecl erfcf(float) @ cdecl erfcl(double) MSVCR120_erfcl -@ cdecl erff(float) MSVCR120_erff +@ cdecl erff(float) @ cdecl erfl(double) MSVCR120_erfl @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl exp2(double) MSVCR120_exp2 -@ cdecl exp2f(float) MSVCR120_exp2f +@ cdecl exp(double) +@ cdecl exp2(double) +@ cdecl exp2f(float) @ cdecl exp2l(double) MSVCR120_exp2l -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl expm1(double) MSVCR120_expm1 -@ cdecl expm1f(float) MSVCR120_expm1f +@ cdecl -arch=!i386 expf(float) +@ cdecl expm1(double) +@ cdecl expm1f(float) @ cdecl expm1l(double) MSVCR120_expm1l -@ cdecl fabs(double) MSVCRT_fabs -@ cdecl -arch=!i386 fabsf(float) MSVCRT_fabsf +@ cdecl fabs(double) +@ cdecl -arch=!i386 fabsf(float) @ cdecl fclose(ptr) MSVCRT_fclose -@ cdecl fdim(double double) MSVCR120_fdim -@ cdecl fdimf(float float) MSVCR120_fdimf -@ cdecl fdiml(double double) MSVCR120_fdim +@ cdecl fdim(double double) +@ cdecl fdimf(float float) +@ cdecl fdiml(double double) fdim @ stub feclearexcept -@ cdecl fegetenv(ptr) MSVCRT_fegetenv +@ cdecl fegetenv(ptr) @ stub fegetexceptflag -@ cdecl fegetround() MSVCRT_fegetround +@ cdecl fegetround() @ stub feholdexcept @ cdecl feof(ptr) MSVCRT_feof @ stub feraiseexcept @ cdecl ferror(ptr) MSVCRT_ferror -@ cdecl fesetenv(ptr) MSVCRT_fesetenv +@ cdecl fesetenv(ptr) @ stub fesetexceptflag -@ cdecl fesetround(long) MSVCRT_fesetround +@ cdecl fesetround(long) @ stub fetestexcept @ stub feupdateenv @ cdecl fflush(ptr) MSVCRT_fflush @@ -2162,19 +2162,19 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fma(double double double) MSVCRT_fma -@ cdecl fmaf(float float float) MSVCRT_fmaf -@ cdecl fmal(double double double) MSVCRT_fma -@ cdecl fmax(double double) MSVCR120_fmax -@ cdecl fmaxf(float float) MSVCR120_fmaxf -@ cdecl fmaxl(double double) MSVCR120_fmax -@ cdecl fmin(double double) MSVCR120_fmin -@ cdecl fminf(float float) MSVCR120_fminf -@ cdecl fminl(double double) MSVCR120_fmin -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fma(double double double) +@ cdecl fmaf(float float float) +@ cdecl fmal(double double double) fma +@ cdecl fmax(double double) +@ cdecl fmaxf(float float) +@ cdecl fmaxl(double double) fmax +@ cdecl fmin(double double) +@ cdecl fminf(float float) +@ cdecl fminl(double double) fmin +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ varargs fprintf(ptr str) MSVCRT_fprintf @@ -2188,7 +2188,7 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ varargs fscanf_s(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @@ -2207,10 +2207,10 @@ @ cdecl gets_s(ptr long) MSVCRT_gets_s @ cdecl getwc(ptr) MSVCRT_getwc @ cdecl getwchar() MSVCRT_getwchar -@ cdecl ilogb(double) MSVCR120_ilogb -@ cdecl ilogbf(float) MSVCR120_ilogbf +@ cdecl ilogb(double) +@ cdecl ilogbf(float) @ cdecl ilogbl(double) MSVCR120_ilogbl -@ cdecl -ret64 imaxabs(int64) MSVCRT_imaxabs +@ cdecl -ret64 imaxabs(int64) @ stub imaxdiv @ cdecl is_wctype(long long) iswctype @ cdecl isalnum(long) @@ -2240,40 +2240,40 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv -@ cdecl lgamma(double) MSVCR120_lgamma -@ cdecl lgammaf(float) MSVCR120_lgammaf +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) +@ cdecl lgamma(double) +@ cdecl lgammaf(float) @ cdecl lgammal(double) MSVCR120_lgammal -@ cdecl -ret64 llabs(int64) MSVCRT_llabs -@ cdecl lldiv(int64 int64) MSVCRT_lldiv -@ cdecl -ret64 llrint(double) MSVCR120_llrint -@ cdecl -ret64 llrintf(float) MSVCR120_llrintf +@ cdecl -ret64 llabs(int64) +@ cdecl lldiv(int64 int64) +@ cdecl -ret64 llrint(double) +@ cdecl -ret64 llrintf(float) @ cdecl -ret64 llrintl(double) MSVCR120_llrintl -@ cdecl -ret64 llround(double) MSVCR120_llround -@ cdecl -ret64 llroundf(float) MSVCR120_llroundf +@ cdecl -ret64 llround(double) +@ cdecl -ret64 llroundf(float) @ cdecl -ret64 llroundl(double) MSVCR120_llroundl @ cdecl localeconv() -@ cdecl log(double) MSVCRT_log -@ cdecl -arch=!i386 logf(float) MSVCRT_logf -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f -@ cdecl log1p(double) MSVCR120_log1p -@ cdecl log1pf(float) MSVCR120_log1pf +@ cdecl log(double) +@ cdecl -arch=!i386 logf(float) +@ cdecl log10(double) +@ cdecl -arch=!i386 log10f(float) +@ cdecl log1p(double) +@ cdecl log1pf(float) @ cdecl log1pl(double) MSVCR120_log1pl -@ cdecl log2(double) MSVCR120_log2 -@ cdecl log2f(float) MSVCR120_log2f +@ cdecl log2(double) +@ cdecl log2f(float) @ cdecl log2l(double) MSVCR120_log2l -@ cdecl logb(double) MSVCRT__logb -@ cdecl logbf(float) MSVCRT__logbf -@ cdecl logbl(double) MSVCRT__logb +@ cdecl logb(double) _logb +@ cdecl logbf(float) _logbf +@ cdecl logbl(double) _logb @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp -@ cdecl lrint(double) MSVCR120_lrint -@ cdecl lrintf(float) MSVCR120_lrintf +@ cdecl lrint(double) +@ cdecl lrintf(float) @ cdecl lrintl(double) MSVCR120_lrintl -@ cdecl lround(double) MSVCR120_lround -@ cdecl lroundf(float) MSVCR120_lroundf +@ cdecl lround(double) +@ cdecl lroundf(float) @ cdecl lroundl(double) MSVCR120_lroundl @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -2291,17 +2291,17 @@ @ cdecl memmove(ptr ptr long) @ cdecl memmove_s(ptr long ptr long) @ cdecl memset(ptr long long) -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff -@ cdecl nan(str) MSVCR120_nan -@ cdecl nanf(str) MSVCR120_nanf -@ cdecl nanl(str) MSVCR120_nan -@ cdecl nearbyint(double) MSVCRT_nearbyint -@ cdecl nearbyintf(float) MSVCRT_nearbyintf -@ cdecl nearbyintl(double) MSVCRT_nearbyint -@ cdecl nextafter(double double) MSVCRT__nextafter -@ cdecl nextafterf(float float) MSVCRT__nextafterf -@ cdecl nextafterl(double double) MSVCRT__nextafter +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) +@ cdecl nan(str) +@ cdecl nanf(str) +@ cdecl nanl(str) nan +@ cdecl nearbyint(double) +@ cdecl nearbyintf(float) +@ cdecl nearbyintl(double) nearbyint +@ cdecl nextafter(double double) _nextafter +@ cdecl nextafterf(float float) _nextafterf +@ cdecl nextafterl(double double) _nextafter @ cdecl nexttoward(double double) MSVCRT_nexttoward @ cdecl nexttowardf(float double) MSVCRT_nexttowardf @ cdecl nexttowardl(double double) MSVCRT_nexttoward @@ -2309,8 +2309,8 @@ @ stub normf @ stub norml @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ varargs printf(str) MSVCRT_printf @ varargs printf_s(str) MSVCRT_printf_s @ cdecl putc(long ptr) MSVCRT_putc @@ -2324,26 +2324,26 @@ @ cdecl rand() @ cdecl rand_s(ptr) @ cdecl realloc(ptr long) -@ cdecl remainder(double double) MSVCR120_remainder -@ cdecl remainderf(float float) MSVCR120_remainderf +@ cdecl remainder(double double) +@ cdecl remainderf(float float) @ cdecl remainderl(double double) MSVCR120_remainderl @ cdecl remove(str) MSVCRT_remove -@ cdecl remquo(double double ptr) MSVCR120_remquo -@ cdecl remquof(float float ptr) MSVCR120_remquof +@ cdecl remquo(double double ptr) +@ cdecl remquof(float float ptr) @ cdecl remquol(double double ptr) MSVCR120_remquol @ cdecl rename(str str) MSVCRT_rename @ cdecl rewind(ptr) MSVCRT_rewind -@ cdecl rint(double) MSVCR120_rint -@ cdecl rintf(float) MSVCR120_rintf +@ cdecl rint(double) +@ cdecl rintf(float) @ cdecl rintl(double) MSVCR120_rintl -@ cdecl round(double) MSVCR120_round -@ cdecl roundf(float) MSVCR120_roundf +@ cdecl round(double) +@ cdecl roundf(float) @ cdecl roundl(double) MSVCR120_roundl -@ cdecl scalbln(double long) MSVCRT__scalb -@ cdecl scalblnf(float long) MSVCRT__scalbf +@ cdecl scalbln(double long) _scalb +@ cdecl scalblnf(float long) _scalbf @ cdecl scalblnl(double long) MSVCR120_scalbnl -@ cdecl scalbn(double long) MSVCRT__scalb -@ cdecl scalbnf(float long) MSVCRT__scalbf +@ cdecl scalbn(double long) _scalb +@ cdecl scalbnf(float long) _scalbf @ cdecl scalbnl(double long) MSVCR120_scalbnl @ varargs scanf(str) @ varargs scanf_s(str) @@ -2352,14 +2352,14 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf +@ cdecl sin(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinhf(float) @ varargs sprintf(ptr str) @ varargs sprintf_s(ptr long str) -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ varargs sscanf(str str) @ varargs sscanf_s(str str) @@ -2401,13 +2401,13 @@ @ varargs swscanf(wstr wstr) @ varargs swscanf_s(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf -@ cdecl tgamma(double) MSVCR120_tgamma -@ cdecl tgammaf(float) MSVCR120_tgammaf -@ cdecl tgammal(double) MSVCR120_tgamma +@ cdecl tan(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanhf(float) +@ cdecl tgamma(double) +@ cdecl tgammaf(float) +@ cdecl tgammal(double) tgamma @ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl tmpnam(ptr) MSVCRT_tmpnam @@ -2417,8 +2417,8 @@ @ cdecl towctrans(long long) @ cdecl towlower(long) @ cdecl towupper(long) -@ cdecl trunc(double) MSVCR120_trunc -@ cdecl truncf(float) MSVCR120_truncf +@ cdecl trunc(double) +@ cdecl truncf(float) @ cdecl truncl(double) MSVCR120_truncl @ cdecl ungetc(long ptr) MSVCRT_ungetc @ cdecl ungetwc(long ptr) MSVCRT_ungetwc diff --git a/dlls/msvcr70/msvcr70.spec b/dlls/msvcr70/msvcr70.spec index ae74d5f6f77..5fda3d373f5 100644 --- a/dlls/msvcr70/msvcr70.spec +++ b/dlls/msvcr70/msvcr70.spec @@ -198,7 +198,7 @@ @ cdecl __set_app_type(long) @ stub __set_buffer_overrun_handler @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __threadhandle() kernel32.GetCurrentThread @ cdecl __threadid() kernel32.GetCurrentThreadId @ cdecl __toascii(long) @@ -241,14 +241,14 @@ @ cdecl _beginthread(ptr long ptr) @ cdecl _beginthreadex(ptr long ptr ptr long ptr) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _cexit() @ cdecl _cgets(ptr) @ stub _cgetws @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign +@ cdecl _chgsign(double) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -258,7 +258,7 @@ @ extern _commode MSVCRT__commode @ cdecl _control87(long long) @ cdecl _controlfp(long long) -@ cdecl _copysign(double double) MSVCRT__copysign +@ cdecl _copysign(double double) @ varargs _cprintf(str) @ cdecl _cputs(str) @ cdecl _cputws(wstr) @@ -273,7 +273,7 @@ @ extern _dstbias MSVCRT__dstbias @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt +@ cdecl _ecvt(double long ptr ptr) @ cdecl _endthread() @ cdecl _endthreadex(long) @ extern _environ MSVCRT__environ @@ -292,7 +292,7 @@ @ cdecl _exit(long) @ cdecl _expand(ptr long) @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt +@ cdecl _fcvt(double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fgetchar() MSVCRT__fgetchar @ cdecl _fgetwchar() MSVCRT__fgetwchar @@ -308,11 +308,11 @@ @ cdecl _findnext(long ptr) MSVCRT__findnext @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnexti64(long ptr) MSVCRT__findnexti64 -@ cdecl _finite(double) MSVCRT__finite +@ cdecl _finite(double) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass +@ cdecl _fpclass(double) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ cdecl _fputchar(long) MSVCRT__fputchar @@ -324,12 +324,12 @@ @ cdecl -arch=win32 _ftime(ptr) _ftime32 @ cdecl -arch=win64 _ftime(ptr) _ftime64 @ cdecl _ftime64(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl -arch=win32 _futime(long ptr) _futime32 @ cdecl -arch=win64 _futime(long ptr) _futime64 @ cdecl _futime64(long ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt +@ cdecl _gcvt(double long str) @ cdecl _get_osfhandle(long) MSVCRT__get_osfhandle @ cdecl _get_sbh_threshold() @ cdecl _getch() @@ -395,12 +395,12 @@ @ cdecl _ismbcupper(long) @ cdecl _ismbslead(ptr ptr) @ cdecl _ismbstrail(ptr ptr) -@ cdecl _isnan(double) MSVCRT__isnan +@ cdecl _isnan(double) @ cdecl _itoa(long ptr long) @ cdecl _itow(long ptr long) ntdll._itow -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _loaddll(str) @@ -408,10 +408,10 @@ @ cdecl _localtime64(ptr) @ cdecl _lock(long) @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb +@ cdecl _logb(double) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ cdecl _lseek(long long long) MSVCRT__lseek @ cdecl -ret64 _lseeki64(long int64 long) MSVCRT__lseeki64 @@ -479,7 +479,7 @@ @ cdecl _mktemp(str) MSVCRT__mktemp @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter +@ cdecl _nextafter(double double) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -510,12 +510,12 @@ @ cdecl -arch=i386 _safe_fdivr() @ cdecl -arch=i386 _safe_fprem() @ cdecl -arch=i386 _safe_fprem1() -@ cdecl _scalb(double long) MSVCRT__scalb +@ cdecl _scalb(double long) @ varargs _scprintf(str) @ varargs _scwprintf(wstr) @ cdecl _searchenv(str str ptr) MSVCRT__searchenv @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl _set_SSE2_enable(long) @ cdecl _set_error_mode(long) @ cdecl _set_sbh_threshold(long) @ cdecl _set_security_error_handler(ptr) @@ -681,35 +681,35 @@ @ cdecl -arch=win32 _wutime(wstr ptr) _wutime32 @ cdecl -arch=win64 _wutime(wstr ptr) _wutime64 @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos +@ cdecl abs(long) +@ cdecl acos(double) @ cdecl asctime(ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 +@ cdecl asin(double) +@ cdecl atan(double) +@ cdecl atan2(double double) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @ cdecl atol(str) @ cdecl bsearch(ptr ptr long long ptr) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil +@ cdecl ceil(double) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl cosh(double) MSVCRT_cosh +@ cdecl cos(double) +@ cdecl cosh(double) @ cdecl -arch=win32 ctime(ptr) _ctime32 @ cdecl -arch=win64 ctime(ptr) _ctime64 @ cdecl -arch=win32 difftime(long long) _difftime32 @ cdecl -arch=win64 difftime(long long) _difftime64 -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -719,8 +719,8 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl fmod(double double) MSVCRT_fmod +@ cdecl floor(double) +@ cdecl fmod(double double) @ cdecl fopen(str str) MSVCRT_fopen @ varargs fprintf(ptr str) MSVCRT_fprintf @ cdecl fputc(long ptr) MSVCRT_fputc @@ -730,7 +730,7 @@ @ cdecl fread(ptr long long ptr) MSVCRT_fread @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @ cdecl fsetpos(ptr ptr) MSVCRT_fsetpos @@ -772,14 +772,14 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() @ cdecl -arch=win32 localtime(ptr) _localtime32 @ cdecl -arch=win64 localtime(ptr) _localtime64 -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 +@ cdecl log(double) +@ cdecl log10(double) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -792,9 +792,9 @@ @ cdecl memset(ptr long long) @ cdecl -arch=win32 mktime(ptr) _mktime32 @ cdecl -arch=win64 mktime(ptr) _mktime64 -@ cdecl modf(double ptr) MSVCRT_modf +@ cdecl modf(double ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow +@ cdecl pow(double double) @ varargs printf(str) MSVCRT_printf @ cdecl putc(long ptr) MSVCRT_putc @ cdecl putchar(long) MSVCRT_putchar @@ -813,10 +813,10 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl sinh(double) MSVCRT_sinh +@ cdecl sin(double) +@ cdecl sinh(double) @ varargs sprintf(ptr str) -@ cdecl sqrt(double) MSVCRT_sqrt +@ cdecl sqrt(double) @ cdecl srand(long) @ varargs sscanf(str str) @ cdecl strcat(str str) @@ -843,8 +843,8 @@ @ varargs swprintf(ptr wstr) _swprintf @ varargs swscanf(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl tanh(double) MSVCRT_tanh +@ cdecl tan(double) +@ cdecl tanh(double) @ cdecl -arch=win32 time(ptr) _time32 @ cdecl -arch=win64 time(ptr) _time64 @ cdecl tmpfile() MSVCRT_tmpfile diff --git a/dlls/msvcr71/msvcr71.spec b/dlls/msvcr71/msvcr71.spec index bb423f47e3c..a86179e3420 100644 --- a/dlls/msvcr71/msvcr71.spec +++ b/dlls/msvcr71/msvcr71.spec @@ -193,7 +193,7 @@ @ cdecl __set_app_type(long) @ stub __set_buffer_overrun_handler @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __threadhandle() kernel32.GetCurrentThread @ cdecl __threadid() kernel32.GetCurrentThreadId @ cdecl __toascii(long) @@ -236,14 +236,14 @@ @ cdecl _beginthread(ptr long ptr) @ cdecl _beginthreadex(ptr long ptr ptr long ptr) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _cexit() @ cdecl _cgets(ptr) @ stub _cgetws @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign +@ cdecl _chgsign(double) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -253,7 +253,7 @@ @ extern _commode MSVCRT__commode @ cdecl _control87(long long) @ cdecl _controlfp(long long) -@ cdecl _copysign(double double) MSVCRT__copysign +@ cdecl _copysign(double double) @ varargs _cprintf(str) @ cdecl _cputs(str) @ cdecl _cputws(wstr) @@ -267,7 +267,7 @@ @ extern _dstbias MSVCRT__dstbias @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt +@ cdecl _ecvt(double long ptr ptr) @ cdecl _endthread() @ cdecl _endthreadex(long) @ extern _environ MSVCRT__environ @@ -286,7 +286,7 @@ @ cdecl _exit(long) @ cdecl _expand(ptr long) @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt +@ cdecl _fcvt(double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fgetchar() MSVCRT__fgetchar @ cdecl _fgetwchar() MSVCRT__fgetwchar @@ -302,11 +302,11 @@ @ cdecl _findnext(long ptr) MSVCRT__findnext @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnexti64(long ptr) MSVCRT__findnexti64 -@ cdecl _finite(double) MSVCRT__finite +@ cdecl _finite(double) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass +@ cdecl _fpclass(double) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ cdecl _fputchar(long) MSVCRT__fputchar @@ -318,12 +318,12 @@ @ cdecl -arch=win32 _ftime(ptr) _ftime32 @ cdecl -arch=win64 _ftime(ptr) _ftime64 @ cdecl _ftime64(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl -arch=win32 _futime(long ptr) _futime32 @ cdecl -arch=win64 _futime(long ptr) _futime64 @ cdecl _futime64(long ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt +@ cdecl _gcvt(double long str) @ cdecl _get_heap_handle() @ cdecl _get_osfhandle(long) MSVCRT__get_osfhandle @ cdecl _get_sbh_threshold() @@ -390,12 +390,12 @@ @ cdecl _ismbcupper(long) @ cdecl _ismbslead(ptr ptr) @ cdecl _ismbstrail(ptr ptr) -@ cdecl _isnan(double) MSVCRT__isnan +@ cdecl _isnan(double) @ cdecl _itoa(long ptr long) @ cdecl _itow(long ptr long) ntdll._itow -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _loaddll(str) @@ -403,10 +403,10 @@ @ cdecl _localtime64(ptr) @ cdecl _lock(long) @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb +@ cdecl _logb(double) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ cdecl _lseek(long long long) MSVCRT__lseek @ cdecl -ret64 _lseeki64(long int64 long) MSVCRT__lseeki64 @@ -474,7 +474,7 @@ @ cdecl _mktemp(str) MSVCRT__mktemp @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter +@ cdecl _nextafter(double double) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -505,12 +505,12 @@ @ cdecl -arch=i386 _safe_fdivr() @ cdecl -arch=i386 _safe_fprem() @ cdecl -arch=i386 _safe_fprem1() -@ cdecl _scalb(double long) MSVCRT__scalb +@ cdecl _scalb(double long) @ varargs _scprintf(str) @ varargs _scwprintf(wstr) @ cdecl _searchenv(str str ptr) MSVCRT__searchenv @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl _set_SSE2_enable(long) @ cdecl _set_error_mode(long) @ cdecl _set_purecall_handler(ptr) @ cdecl _set_sbh_threshold(long) @@ -677,35 +677,35 @@ @ cdecl -arch=win32 _wutime(wstr ptr) _wutime32 @ cdecl -arch=win64 _wutime(wstr ptr) _wutime64 @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos +@ cdecl abs(long) +@ cdecl acos(double) @ cdecl asctime(ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 +@ cdecl asin(double) +@ cdecl atan(double) +@ cdecl atan2(double double) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @ cdecl atol(str) @ cdecl bsearch(ptr ptr long long ptr) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil +@ cdecl ceil(double) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl cosh(double) MSVCRT_cosh +@ cdecl cos(double) +@ cdecl cosh(double) @ cdecl -arch=win32 ctime(ptr) _ctime32 @ cdecl -arch=win64 ctime(ptr) _ctime64 @ cdecl -arch=win32 difftime(long long) _difftime32 @ cdecl -arch=win64 difftime(long long) _difftime64 -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -715,8 +715,8 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl fmod(double double) MSVCRT_fmod +@ cdecl floor(double) +@ cdecl fmod(double double) @ cdecl fopen(str str) MSVCRT_fopen @ varargs fprintf(ptr str) MSVCRT_fprintf @ cdecl fputc(long ptr) MSVCRT_fputc @@ -726,7 +726,7 @@ @ cdecl fread(ptr long long ptr) MSVCRT_fread @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @ cdecl fsetpos(ptr ptr) MSVCRT_fsetpos @@ -768,14 +768,14 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() @ cdecl -arch=win32 localtime(ptr) _localtime32 @ cdecl -arch=win64 localtime(ptr) _localtime64 -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 +@ cdecl log(double) +@ cdecl log10(double) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -787,9 +787,9 @@ @ cdecl memmove(ptr ptr long) @ cdecl memset(ptr long long) @ cdecl -arch=win32 mktime(ptr) _mktime32 -@ cdecl modf(double ptr) MSVCRT_modf +@ cdecl modf(double ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow +@ cdecl pow(double double) @ varargs printf(str) MSVCRT_printf @ cdecl putc(long ptr) MSVCRT_putc @ cdecl putchar(long) MSVCRT_putchar @@ -808,10 +808,10 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl sinh(double) MSVCRT_sinh +@ cdecl sin(double) +@ cdecl sinh(double) @ varargs sprintf(ptr str) -@ cdecl sqrt(double) MSVCRT_sqrt +@ cdecl sqrt(double) @ cdecl srand(long) @ varargs sscanf(str str) @ cdecl strcat(str str) @@ -838,8 +838,8 @@ @ varargs swprintf(ptr wstr) _swprintf @ varargs swscanf(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl tanh(double) MSVCRT_tanh +@ cdecl tan(double) +@ cdecl tanh(double) @ cdecl -arch=win32 time(ptr) _time32 @ cdecl -arch=win64 time(ptr) _time64 @ cdecl tmpfile() MSVCRT_tmpfile diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec index 95397c816e9..170b20ee445 100644 --- a/dlls/msvcr80/msvcr80.spec +++ b/dlls/msvcr80/msvcr80.spec @@ -245,27 +245,27 @@ @ extern __lc_handle MSVCRT___lc_handle # extern __lconv @ cdecl __lconv_init() -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ extern __mb_cur_max MSVCRT___mb_cur_max @ cdecl __p___argc() @ cdecl __p___argv() @@ -304,7 +304,7 @@ @ cdecl __set_app_type(long) @ stub __set_flsgetvalue @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __strncnt(str long) @ varargs __swprintf_l(ptr wstr ptr) @ cdecl __sys_errlist() @@ -373,7 +373,7 @@ @ cdecl _byteswap_ulong(long) @ cdecl _byteswap_ushort(long) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_crt(long long) calloc @ cdecl _cexit() @@ -383,8 +383,8 @@ @ stub _cgetws_s @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign -@ cdecl -arch=!i386 _chgsignf(float) MSVCRT__chgsignf +@ cdecl _chgsign(double) +@ cdecl -arch=!i386 _chgsignf(float) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -397,8 +397,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl -arch=!i386 _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl -arch=!i386 _copysignf(float float) @ varargs _cprintf(str) @ stub _cprintf_l @ stub _cprintf_p @@ -439,8 +439,8 @@ @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 @ cdecl _dupenv_s(ptr ptr str) -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _encode_pointer(ptr) @ cdecl _encoded_null() @ cdecl _endthread() @@ -463,8 +463,8 @@ @ cdecl _expand(ptr long) @ cdecl _fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock @@ -484,13 +484,13 @@ @ stub _findnext32i64 @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ stub _fprintf_l @@ -524,7 +524,7 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl _futime32(long ptr) @ cdecl _futime64(long ptr) @@ -535,8 +535,8 @@ @ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock @ varargs _fwscanf_l(ptr wstr ptr) @ varargs _fwscanf_s_l(ptr wstr ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) @ stub _get_amblksiz @ cdecl _get_current_locale() @ cdecl _get_daylight(ptr) @@ -599,7 +599,7 @@ @ stub _heapused(ptr ptr) @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -682,8 +682,8 @@ @ stub _ismbslead_l @ cdecl _ismbstrail(ptr ptr) @ stub _ismbstrail_l -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _ispunct_l(long ptr) @ cdecl _isspace_l(long ptr) @@ -707,9 +707,9 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) @@ -724,11 +724,11 @@ @ cdecl _lock(long) @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ stub _lsearch_s @ cdecl _lseek(long long long) MSVCRT__lseek @@ -887,8 +887,8 @@ @ cdecl _mktime32(ptr) @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -933,8 +933,8 @@ @ cdecl -arch=i386 _safe_fdivr() @ cdecl -arch=i386 _safe_fprem() @ cdecl -arch=i386 _safe_fprem1() -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ varargs _scanf_l(str ptr) @ varargs _scanf_s_l(str ptr) @ varargs _scprintf(str) @@ -949,7 +949,7 @@ @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl _set_SSE2_enable(long) @ cdecl _set_abort_behavior(long long) @ stub _set_amblksiz @ cdecl _set_controlfp(long long) @@ -1304,21 +1304,21 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl atan(double) MSVCRT_atan -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f +@ cdecl asin(double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl atan(double) +@ cdecl -arch=!i386 atanf(float) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 atan2f(float float) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @@ -1327,20 +1327,20 @@ @ cdecl bsearch_s(ptr ptr long long ptr ptr) @ cdecl btowc(long) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clearerr_s(ptr) MSVCRT_clearerr_s @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl cos(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl cosh(double) +@ cdecl -arch=!i386 coshf(float) +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl -arch=!i386 expf(float) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -1350,10 +1350,10 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ varargs fprintf(ptr str) MSVCRT_fprintf @@ -1367,7 +1367,7 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ varargs fscanf_s(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @@ -1412,14 +1412,14 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() -@ cdecl log(double) MSVCRT_log -@ cdecl -arch=!i386 logf(float) MSVCRT_logf -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f +@ cdecl log(double) +@ cdecl -arch=!i386 logf(float) +@ cdecl log10(double) +@ cdecl -arch=!i386 log10f(float) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -1437,11 +1437,11 @@ @ cdecl memmove(ptr ptr long) @ cdecl memmove_s(ptr long ptr long) @ cdecl memset(ptr long long) -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ varargs printf(str) MSVCRT_printf @ varargs printf_s(str) MSVCRT_printf_s @ cdecl putc(long ptr) MSVCRT_putc @@ -1465,14 +1465,14 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf +@ cdecl sin(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinhf(float) @ varargs sprintf(ptr str) @ varargs sprintf_s(ptr long str) -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ varargs sscanf(str str) @ varargs sscanf_s(str str) @@ -1508,10 +1508,10 @@ @ varargs swscanf(wstr wstr) @ varargs swscanf_s(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf +@ cdecl tan(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanhf(float) @ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl tmpnam(ptr) MSVCRT_tmpnam diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec index e71ae6b3ad7..ba9ea959a66 100644 --- a/dlls/msvcr90/msvcr90.spec +++ b/dlls/msvcr90/msvcr90.spec @@ -234,27 +234,27 @@ @ extern __lc_handle MSVCRT___lc_handle # extern __lconv @ cdecl __lconv_init() -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ extern __mb_cur_max MSVCRT___mb_cur_max @ cdecl __p___argc() @ cdecl __p___argv() @@ -288,7 +288,7 @@ @ cdecl __set_app_type(long) @ stub __set_flsgetvalue @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __strncnt(str long) @ varargs __swprintf_l(ptr wstr ptr) @ cdecl __sys_errlist() @@ -357,7 +357,7 @@ @ cdecl _byteswap_ulong(long) @ cdecl _byteswap_ushort(long) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_crt(long long) calloc @ cdecl _cexit() @@ -367,7 +367,7 @@ @ stub _cgetws_s @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign +@ cdecl _chgsign(double) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -380,8 +380,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl -arch=!i386 _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl -arch=!i386 _copysignf(float float) @ varargs _cprintf(str) @ stub _cprintf_l @ stub _cprintf_p @@ -422,8 +422,8 @@ @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 @ cdecl _dupenv_s(ptr ptr str) -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _encode_pointer(ptr) @ cdecl _encoded_null() @ cdecl _endthread() @@ -446,8 +446,8 @@ @ cdecl _expand(ptr long) @ cdecl _fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock @@ -467,13 +467,13 @@ @ stub _findnext32i64 @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ stub _fprintf_l @@ -507,7 +507,7 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl _futime32(long ptr) @ cdecl _futime64(long ptr) @@ -518,8 +518,8 @@ @ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock @ varargs _fwscanf_l(ptr wstr ptr) @ varargs _fwscanf_s_l(ptr wstr ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) @ stub _get_amblksiz @ cdecl _get_current_locale() @ cdecl _get_daylight(ptr) @@ -577,7 +577,7 @@ @ stub _heapused(ptr ptr) @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -660,8 +660,8 @@ @ stub _ismbslead_l @ cdecl _ismbstrail(ptr ptr) @ stub _ismbstrail_l -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _ispunct_l(long ptr) @ cdecl _isspace_l(long ptr) @@ -685,9 +685,9 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) @@ -702,11 +702,11 @@ @ cdecl _lock(long) @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ stub _lsearch_s @ cdecl _lseek(long long long) MSVCRT__lseek @@ -865,8 +865,8 @@ @ cdecl _mktime32(ptr) @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -909,8 +909,8 @@ @ cdecl -arch=i386 _safe_fdivr() @ cdecl -arch=i386 _safe_fprem() @ cdecl -arch=i386 _safe_fprem1() -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ varargs _scanf_l(str ptr) @ varargs _scanf_s_l(str ptr) @ varargs _scprintf(str) @@ -925,7 +925,7 @@ @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl _set_SSE2_enable(long) @ cdecl _set_abort_behavior(long long) @ stub _set_amblksiz @ cdecl _set_controlfp(long long) @@ -1276,21 +1276,21 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf +@ cdecl asin(double) +@ cdecl atan(double) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl -arch=!i386 atan2f(float float) +@ cdecl -arch=!i386 atanf(float) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @@ -1299,20 +1299,20 @@ @ cdecl bsearch_s(ptr ptr long long ptr ptr) @ cdecl btowc(long) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clearerr_s(ptr) MSVCRT_clearerr_s @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl cos(double) +@ cdecl cosh(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl -arch=!i386 coshf(float) +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl -arch=!i386 expf(float) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -1322,10 +1322,10 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ varargs fprintf(ptr str) MSVCRT_fprintf @@ -1339,7 +1339,7 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ varargs fscanf_s(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @@ -1384,14 +1384,14 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f -@ cdecl -arch=!i386 logf(float) MSVCRT_logf +@ cdecl log(double) +@ cdecl log10(double) +@ cdecl -arch=!i386 log10f(float) +@ cdecl -arch=!i386 logf(float) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -1409,11 +1409,11 @@ @ cdecl memmove(ptr ptr long) @ cdecl memmove_s(ptr long ptr long) @ cdecl memset(ptr long long) -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ varargs printf(str) MSVCRT_printf @ varargs printf_s(str) MSVCRT_printf_s @ cdecl putc(long ptr) MSVCRT_putc @@ -1437,14 +1437,14 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf +@ cdecl sin(double) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl -arch=!i386 sinhf(float) @ varargs sprintf(ptr str) @ varargs sprintf_s(ptr long str) -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ varargs sscanf(str str) @ varargs sscanf_s(str str) @@ -1480,10 +1480,10 @@ @ varargs swscanf(wstr wstr) @ varargs swscanf_s(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf +@ cdecl tan(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanhf(float) @ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl tmpnam(ptr) MSVCRT_tmpnam diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index 4d68af0bb4a..84f08544092 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -35,7 +35,6 @@ * ==================================================== */ - #include #include #include @@ -52,6 +51,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); +#undef div +#undef ldiv + #define _DOMAIN 1 /* domain error in argument */ #define _SING 2 /* singularity */ #define _OVERFLOW 3 /* range overflow */ @@ -83,7 +85,7 @@ static inline float fp_barrierf(float x) /********************************************************************* * _matherr (CRTDLL.@) */ -int CDECL MSVCRT__matherr(struct _exception *e) +int CDECL _matherr(struct _exception *e) { return 0; } @@ -120,7 +122,7 @@ static double math_error(int type, const char *name, double arg1, double arg2, d /********************************************************************* * __setusermatherr (MSVCRT.@) */ -void CDECL MSVCRT___setusermatherr(MSVCRT_matherr_func func) +void CDECL __setusermatherr(MSVCRT_matherr_func func) { MSVCRT_default_matherr_func = func; TRACE("new matherr handler %p\n", func); @@ -129,7 +131,7 @@ void CDECL MSVCRT___setusermatherr(MSVCRT_matherr_func func) /********************************************************************* * _set_SSE2_enable (MSVCRT.@) */ -int CDECL MSVCRT__set_SSE2_enable(int flag) +int CDECL _set_SSE2_enable(int flag) { sse2_enabled = flag && sse2_supported; return sse2_enabled; @@ -140,7 +142,7 @@ int CDECL MSVCRT__set_SSE2_enable(int flag) /********************************************************************* * _get_FMA3_enable (UCRTBASE.@) */ -int CDECL MSVCRT__get_FMA3_enable(void) +int CDECL _get_FMA3_enable(void) { FIXME("() stub\n"); return 0; @@ -151,7 +153,7 @@ int CDECL MSVCRT__get_FMA3_enable(void) /********************************************************************* * _set_FMA3_enable (MSVCR120.@) */ -int CDECL MSVCRT__set_FMA3_enable(int flag) +int CDECL _set_FMA3_enable(int flag) { FIXME("(%x) stub\n", flag); return 0; @@ -164,7 +166,7 @@ int CDECL MSVCRT__set_FMA3_enable(int flag) /********************************************************************* * _chgsignf (MSVCRT.@) */ -float CDECL MSVCRT__chgsignf( float num ) +float CDECL _chgsignf( float num ) { union { float f; UINT32 i; } u = { num }; u.i ^= 0x80000000; @@ -176,7 +178,7 @@ float CDECL MSVCRT__chgsignf( float num ) * * Copied from musl: src/math/copysignf.c */ -float CDECL MSVCRT__copysignf( float x, float y ) +float CDECL _copysignf( float x, float y ) { union { float f; UINT32 i; } ux = { x }, uy = { y }; ux.i &= 0x7fffffff; @@ -187,7 +189,7 @@ float CDECL MSVCRT__copysignf( float x, float y ) /********************************************************************* * _nextafterf (MSVCRT.@) */ -float CDECL MSVCRT__nextafterf( float num, float next ) +float CDECL _nextafterf( float num, float next ) { if (!isfinite(num) || !isfinite(next)) *_errno() = EDOM; return unix_funcs->nextafterf( num, next ); @@ -196,7 +198,7 @@ float CDECL MSVCRT__nextafterf( float num, float next ) /********************************************************************* * _logbf (MSVCRT.@) */ -float CDECL MSVCRT__logbf( float num ) +float CDECL _logbf( float num ) { float ret = unix_funcs->logbf(num); if (isnan(num)) return math_error(_DOMAIN, "_logbf", num, 0, ret); @@ -206,10 +208,12 @@ float CDECL MSVCRT__logbf( float num ) #endif +#ifndef __i386__ + /********************************************************************* * _fpclassf (MSVCRT.@) */ -int CDECL MSVCRT__fpclassf( float num ) +int CDECL _fpclassf( float num ) { union { float f; UINT32 i; } u = { num }; int e = u.i >> 23 & 0xff; @@ -231,7 +235,7 @@ int CDECL MSVCRT__fpclassf( float num ) /********************************************************************* * _finitef (MSVCRT.@) */ -int CDECL MSVCRT__finitef( float num ) +int CDECL _finitef( float num ) { union { float f; UINT32 i; } u = { num }; return (u.i & 0x7fffffff) < 0x7f800000; @@ -240,14 +244,14 @@ int CDECL MSVCRT__finitef( float num ) /********************************************************************* * _isnanf (MSVCRT.@) */ -int CDECL MSVCRT__isnanf( float num ) +int CDECL _isnanf( float num ) { union { float f; UINT32 i; } u = { num }; return (u.i & 0x7fffffff) > 0x7f800000; } /********************************************************************* - * MSVCRT_acosf (MSVCRT.@) + * acosf (MSVCRT.@) * * Copied from musl: src/math/acosf.c */ @@ -264,7 +268,7 @@ static float acosf_R(float z) return p / q; } -float CDECL MSVCRT_acosf( float x ) +float CDECL acosf( float x ) { static const float pio2_hi = 1.5707962513e+00, pio2_lo = 7.5497894159e-08; @@ -293,13 +297,13 @@ float CDECL MSVCRT_acosf( float x ) /* x < -0.5 */ if (hx >> 31) { z = (1 + x) * 0.5f; - s = MSVCRT_sqrtf(z); + s = sqrtf(z); w = acosf_R(z) * s - pio2_lo; return 2 * (pio2_hi - (s + w)); } /* x > 0.5 */ z = (1 - x) * 0.5f; - s = MSVCRT_sqrtf(z); + s = sqrtf(z); hx = *(unsigned int*)&s & 0xfffff000; df = *(float*)&hx; c = (z - df * df) / (s + df); @@ -308,7 +312,7 @@ float CDECL MSVCRT_acosf( float x ) } /********************************************************************* - * MSVCRT_asinf (MSVCRT.@) + * asinf (MSVCRT.@) * * Copied from musl: src/math/asinf.c */ @@ -326,7 +330,7 @@ static float asinf_R(float z) return p / q; } -float CDECL MSVCRT_asinf( float x ) +float CDECL asinf( float x ) { static const double pio2 = 1.570796326794896558e+00; @@ -350,7 +354,7 @@ float CDECL MSVCRT_asinf( float x ) } /* 1 > |x| >= 0.5 */ z = (1 - fabsf(x)) * 0.5f; - s = MSVCRT_sqrt(z); + s = sqrt(z); x = pio2 - 2 * (s + s * asinf_R(z)); if (hx >> 31) return -x; @@ -358,11 +362,11 @@ float CDECL MSVCRT_asinf( float x ) } /********************************************************************* - * MSVCRT_atanf (MSVCRT.@) + * atanf (MSVCRT.@) * * Copied from musl: src/math/atanf.c */ -float CDECL MSVCRT_atanf( float x ) +float CDECL atanf( float x ) { static const float atanhi[] = { 4.6364760399e-01, @@ -442,11 +446,11 @@ float CDECL MSVCRT_atanf( float x ) } /********************************************************************* - * MSVCRT_atan2f (MSVCRT.@) + * atan2f (MSVCRT.@) * * Copied from musl: src/math/atan2f.c */ -float CDECL MSVCRT_atan2f( float y, float x ) +float CDECL atan2f( float y, float x ) { static const float pi = 3.1415927410e+00, pi_lo = -8.7422776573e-08; @@ -459,7 +463,7 @@ float CDECL MSVCRT_atan2f( float y, float x ) ix = *(unsigned int*)&x; iy = *(unsigned int*)&y; if (ix == 0x3f800000) /* x=1.0 */ - return MSVCRT_atanf(y); + return atanf(y); m = ((iy >> 31) & 1) | ((ix >> 30) & 2); /* 2*sign(x)+sign(y) */ ix &= 0x7fffffff; iy &= 0x7fffffff; @@ -502,7 +506,7 @@ float CDECL MSVCRT_atan2f( float y, float x ) if ((m & 2) && iy + (26 << 23) < ix) /*|y/x| < 0x1p-26, x < 0 */ z = 0.0; else - z = MSVCRT_atanf(fabsf(y / x)); + z = atanf(fabsf(y / x)); switch (m) { case 0: return z; /* atan(+,+) */ case 1: return -z; /* atan(-,+) */ @@ -513,9 +517,9 @@ float CDECL MSVCRT_atan2f( float y, float x ) } /********************************************************************* - * MSVCRT_cosf (MSVCRT.@) + * cosf (MSVCRT.@) */ -float CDECL MSVCRT_cosf( float x ) +float CDECL cosf( float x ) { float ret = unix_funcs->cosf( x ); if (!isfinite(x)) return math_error(_DOMAIN, "cosf", x, 0, ret); @@ -523,9 +527,9 @@ float CDECL MSVCRT_cosf( float x ) } /********************************************************************* - * MSVCRT_coshf (MSVCRT.@) + * coshf (MSVCRT.@) */ -float CDECL MSVCRT_coshf( float x ) +float CDECL coshf( float x ) { float ret = unix_funcs->coshf( x ); if (isnan(x)) return math_error(_DOMAIN, "coshf", x, 0, ret); @@ -533,9 +537,9 @@ float CDECL MSVCRT_coshf( float x ) } /********************************************************************* - * MSVCRT_expf (MSVCRT.@) + * expf (MSVCRT.@) */ -float CDECL MSVCRT_expf( float x ) +float CDECL expf( float x ) { float ret = unix_funcs->expf( x ); if (isnan(x)) return math_error(_DOMAIN, "expf", x, 0, ret); @@ -545,9 +549,9 @@ float CDECL MSVCRT_expf( float x ) } /********************************************************************* - * MSVCRT_fmodf (MSVCRT.@) + * fmodf (MSVCRT.@) */ -float CDECL MSVCRT_fmodf( float x, float y ) +float CDECL fmodf( float x, float y ) { float ret = unix_funcs->fmodf( x, y ); if (!isfinite(x) || !isfinite(y)) return math_error(_DOMAIN, "fmodf", x, 0, ret); @@ -555,9 +559,9 @@ float CDECL MSVCRT_fmodf( float x, float y ) } /********************************************************************* - * MSVCRT_logf (MSVCRT.@) + * logf (MSVCRT.@) */ -float CDECL MSVCRT_logf( float x ) +float CDECL logf( float x ) { float ret = unix_funcs->logf( x ); if (x < 0.0) return math_error(_DOMAIN, "logf", x, 0, ret); @@ -566,9 +570,9 @@ float CDECL MSVCRT_logf( float x ) } /********************************************************************* - * MSVCRT_log10f (MSVCRT.@) + * log10f (MSVCRT.@) */ -float CDECL MSVCRT_log10f( float x ) +float CDECL log10f( float x ) { float ret = unix_funcs->log10f( x ); if (x < 0.0) return math_error(_DOMAIN, "log10f", x, 0, ret); @@ -577,12 +581,12 @@ float CDECL MSVCRT_log10f( float x ) } /********************************************************************* - * MSVCRT_powf (MSVCRT.@) + * powf (MSVCRT.@) */ -float CDECL MSVCRT_powf( float x, float y ) +float CDECL powf( float x, float y ) { float z = unix_funcs->powf(x,y); - if (x < 0 && y != MSVCRT_floorf(y)) return math_error(_DOMAIN, "powf", x, y, z); + if (x < 0 && y != floorf(y)) return math_error(_DOMAIN, "powf", x, y, z); if (!x && isfinite(y) && y < 0) return math_error(_SING, "powf", x, y, z); if (isfinite(x) && isfinite(y) && !isfinite(z)) return math_error(_OVERFLOW, "powf", x, y, z); if (x && isfinite(x) && isfinite(y) && !z) return math_error(_UNDERFLOW, "powf", x, y, z); @@ -590,9 +594,9 @@ float CDECL MSVCRT_powf( float x, float y ) } /********************************************************************* - * MSVCRT_sinf (MSVCRT.@) + * sinf (MSVCRT.@) */ -float CDECL MSVCRT_sinf( float x ) +float CDECL sinf( float x ) { float ret = unix_funcs->sinf( x ); if (!isfinite(x)) return math_error(_DOMAIN, "sinf", x, 0, ret); @@ -600,9 +604,9 @@ float CDECL MSVCRT_sinf( float x ) } /********************************************************************* - * MSVCRT_sinhf (MSVCRT.@) + * sinhf (MSVCRT.@) */ -float CDECL MSVCRT_sinhf( float x ) +float CDECL sinhf( float x ) { float ret = unix_funcs->sinhf( x ); if (isnan(x)) return math_error(_DOMAIN, "sinhf", x, 0, ret); @@ -610,11 +614,11 @@ float CDECL MSVCRT_sinhf( float x ) } /********************************************************************* - * MSVCRT_sqrtf (MSVCRT.@) + * sqrtf (MSVCRT.@) * * Copied from musl: src/math/sqrtf.c */ -float CDECL MSVCRT_sqrtf( float x ) +float CDECL sqrtf( float x ) { static const float tiny = 1.0e-30; @@ -682,9 +686,9 @@ float CDECL MSVCRT_sqrtf( float x ) } /********************************************************************* - * MSVCRT_tanf (MSVCRT.@) + * tanf (MSVCRT.@) */ -float CDECL MSVCRT_tanf( float x ) +float CDECL tanf( float x ) { float ret = unix_funcs->tanf(x); if (!isfinite(x)) return math_error(_DOMAIN, "tanf", x, 0, ret); @@ -692,9 +696,9 @@ float CDECL MSVCRT_tanf( float x ) } /********************************************************************* - * MSVCRT_tanhf (MSVCRT.@) + * tanhf (MSVCRT.@) */ -float CDECL MSVCRT_tanhf( float x ) +float CDECL tanhf( float x ) { float ret = unix_funcs->tanhf(x); if (!isfinite(x)) return math_error(_DOMAIN, "tanhf", x, 0, ret); @@ -704,7 +708,7 @@ float CDECL MSVCRT_tanhf( float x ) /********************************************************************* * ceilf (MSVCRT.@) */ -float CDECL MSVCRT_ceilf( float x ) +float CDECL ceilf( float x ) { return unix_funcs->ceilf(x); } @@ -714,7 +718,7 @@ float CDECL MSVCRT_ceilf( float x ) * * Copied from musl: src/math/fabsf.c */ -float CDECL MSVCRT_fabsf( float x ) +float CDECL fabsf( float x ) { union { float f; UINT32 i; } u = { x }; u.i &= 0x7fffffff; @@ -724,7 +728,7 @@ float CDECL MSVCRT_fabsf( float x ) /********************************************************************* * floorf (MSVCRT.@) */ -float CDECL MSVCRT_floorf( float x ) +float CDECL floorf( float x ) { return unix_funcs->floorf(x); } @@ -732,7 +736,7 @@ float CDECL MSVCRT_floorf( float x ) /********************************************************************* * frexpf (MSVCRT.@) */ -float CDECL MSVCRT_frexpf( float x, int *exp ) +float CDECL frexpf( float x, int *exp ) { return unix_funcs->frexpf( x, exp ); } @@ -740,13 +744,15 @@ float CDECL MSVCRT_frexpf( float x, int *exp ) /********************************************************************* * modff (MSVCRT.@) */ -float CDECL MSVCRT_modff( float x, float *iptr ) +float CDECL modff( float x, float *iptr ) { return unix_funcs->modff( x, iptr ); } +#endif + /********************************************************************* - * MSVCRT_acos (MSVCRT.@) + * acos (MSVCRT.@) * * Copied from musl: src/math/acos.c */ @@ -769,7 +775,7 @@ static double acos_R(double z) return p/q; } -double CDECL MSVCRT_acos( double x ) +double CDECL acos( double x ) { static const double pio2_hi = 1.57079632679489655800e+00, pio2_lo = 6.12323399573676603587e-17; @@ -803,13 +809,13 @@ double CDECL MSVCRT_acos( double x ) /* x < -0.5 */ if (hx >> 31) { z = (1.0 + x) * 0.5; - s = MSVCRT_sqrt(z); + s = sqrt(z); w = acos_R(z) * s - pio2_lo; return 2 * (pio2_hi - (s + w)); } /* x > 0.5 */ z = (1.0 - x) * 0.5; - s = MSVCRT_sqrt(z); + s = sqrt(z); df = s; llx = (*(ULONGLONG*)&df >> 32) << 32; df = *(double*)&llx; @@ -819,7 +825,7 @@ double CDECL MSVCRT_acos( double x ) } /********************************************************************* - * MSVCRT_asin (MSVCRT.@) + * asin (MSVCRT.@) * * Copied from musl: src/math/asin.c */ @@ -843,7 +849,7 @@ static double asin_R(double z) return p / q; } -double CDECL MSVCRT_asin( double x ) +double CDECL asin( double x ) { static const double pio2_hi = 1.57079632679489655800e+00, pio2_lo = 6.12323399573676603587e-17; @@ -873,7 +879,7 @@ double CDECL MSVCRT_asin( double x ) } /* 1 > |x| >= 0.5 */ z = (1 - fabs(x)) * 0.5; - s = MSVCRT_sqrt(z); + s = sqrt(z); r = asin_R(z); if (ix >= 0x3fef3333) { /* if |x| > 0.975 */ x = pio2_hi - (2 * (s + s * r) - pio2_lo); @@ -892,11 +898,11 @@ double CDECL MSVCRT_asin( double x ) } /********************************************************************* - * MSVCRT_atan (MSVCRT.@) + * atan (MSVCRT.@) * * Copied from musl: src/math/atan.c */ -double CDECL MSVCRT_atan( double x ) +double CDECL atan( double x ) { static const double atanhi[] = { 4.63647609000806093515e-01, @@ -982,11 +988,11 @@ double CDECL MSVCRT_atan( double x ) } /********************************************************************* - * MSVCRT_atan2 (MSVCRT.@) + * atan2 (MSVCRT.@) * * Copied from musl: src/math/atan2.c */ -double CDECL MSVCRT_atan2( double y, double x ) +double CDECL atan2( double y, double x ) { static const double pi = 3.1415926535897931160E+00, pi_lo = 1.2246467991473531772E-16; @@ -1001,7 +1007,7 @@ double CDECL MSVCRT_atan2( double y, double x ) iy = *(ULONGLONG*)&y >> 32; ly = *(ULONGLONG*)&y; if (((ix - 0x3ff00000) | lx) == 0) /* x = 1.0 */ - return MSVCRT_atan(y); + return atan(y); m = ((iy >> 31) & 1) | ((ix >> 30) & 2); /* 2*sign(x)+sign(y) */ ix = ix & 0x7fffffff; iy = iy & 0x7fffffff; @@ -1044,7 +1050,7 @@ double CDECL MSVCRT_atan2( double y, double x ) if ((m & 2) && iy + (64 << 20) < ix) /* |y/x| < 0x1p-64, x<0 */ z = 0; else - z = MSVCRT_atan(fabs(y / x)); + z = atan(fabs(y / x)); switch (m) { case 0: return z; /* atan(+,+) */ case 1: return -z; /* atan(-,+) */ @@ -1055,9 +1061,9 @@ double CDECL MSVCRT_atan2( double y, double x ) } /********************************************************************* - * MSVCRT_cos (MSVCRT.@) + * cos (MSVCRT.@) */ -double CDECL MSVCRT_cos( double x ) +double CDECL cos( double x ) { double ret = unix_funcs->cos( x ); if (!isfinite(x)) return math_error(_DOMAIN, "cos", x, 0, ret); @@ -1065,9 +1071,9 @@ double CDECL MSVCRT_cos( double x ) } /********************************************************************* - * MSVCRT_cosh (MSVCRT.@) + * cosh (MSVCRT.@) */ -double CDECL MSVCRT_cosh( double x ) +double CDECL cosh( double x ) { double ret = unix_funcs->cosh( x ); if (isnan(x)) return math_error(_DOMAIN, "cosh", x, 0, ret); @@ -1075,9 +1081,9 @@ double CDECL MSVCRT_cosh( double x ) } /********************************************************************* - * MSVCRT_exp (MSVCRT.@) + * exp (MSVCRT.@) */ -double CDECL MSVCRT_exp( double x ) +double CDECL exp( double x ) { double ret = unix_funcs->exp( x ); if (isnan(x)) return math_error(_DOMAIN, "exp", x, 0, ret); @@ -1087,9 +1093,9 @@ double CDECL MSVCRT_exp( double x ) } /********************************************************************* - * MSVCRT_fmod (MSVCRT.@) + * fmod (MSVCRT.@) */ -double CDECL MSVCRT_fmod( double x, double y ) +double CDECL fmod( double x, double y ) { double ret = unix_funcs->fmod( x, y ); if (!isfinite(x) || !isfinite(y)) return math_error(_DOMAIN, "fmod", x, y, ret); @@ -1097,9 +1103,9 @@ double CDECL MSVCRT_fmod( double x, double y ) } /********************************************************************* - * MSVCRT_log (MSVCRT.@) + * log (MSVCRT.@) */ -double CDECL MSVCRT_log( double x ) +double CDECL log( double x ) { double ret = unix_funcs->log( x ); if (x < 0.0) return math_error(_DOMAIN, "log", x, 0, ret); @@ -1108,9 +1114,9 @@ double CDECL MSVCRT_log( double x ) } /********************************************************************* - * MSVCRT_log10 (MSVCRT.@) + * log10 (MSVCRT.@) */ -double CDECL MSVCRT_log10( double x ) +double CDECL log10( double x ) { double ret = unix_funcs->log10( x ); if (x < 0.0) return math_error(_DOMAIN, "log10", x, 0, ret); @@ -1119,12 +1125,12 @@ double CDECL MSVCRT_log10( double x ) } /********************************************************************* - * MSVCRT_pow (MSVCRT.@) + * pow (MSVCRT.@) */ -double CDECL MSVCRT_pow( double x, double y ) +double CDECL pow( double x, double y ) { double z = unix_funcs->pow(x,y); - if (x < 0 && y != MSVCRT_floor(y)) + if (x < 0 && y != floor(y)) return math_error(_DOMAIN, "pow", x, y, z); if (!x && isfinite(y) && y < 0) return math_error(_SING, "pow", x, y, z); @@ -1136,9 +1142,9 @@ double CDECL MSVCRT_pow( double x, double y ) } /********************************************************************* - * MSVCRT_sin (MSVCRT.@) + * sin (MSVCRT.@) */ -double CDECL MSVCRT_sin( double x ) +double CDECL sin( double x ) { double ret = unix_funcs->sin( x ); if (!isfinite(x)) return math_error(_DOMAIN, "sin", x, 0, ret); @@ -1146,9 +1152,9 @@ double CDECL MSVCRT_sin( double x ) } /********************************************************************* - * MSVCRT_sinh (MSVCRT.@) + * sinh (MSVCRT.@) */ -double CDECL MSVCRT_sinh( double x ) +double CDECL sinh( double x ) { double ret = unix_funcs->sinh( x ); if (isnan(x)) return math_error(_DOMAIN, "sinh", x, 0, ret); @@ -1156,11 +1162,11 @@ double CDECL MSVCRT_sinh( double x ) } /********************************************************************* - * MSVCRT_sqrt (MSVCRT.@) + * sqrt (MSVCRT.@) * * Copied from musl: src/math/sqrt.c */ -double CDECL MSVCRT_sqrt( double x ) +double CDECL sqrt( double x ) { static const double tiny = 1.0e-300; @@ -1271,9 +1277,9 @@ double CDECL MSVCRT_sqrt( double x ) } /********************************************************************* - * MSVCRT_tan (MSVCRT.@) + * tan (MSVCRT.@) */ -double CDECL MSVCRT_tan( double x ) +double CDECL tan( double x ) { double ret = unix_funcs->tan(x); if (!isfinite(x)) return math_error(_DOMAIN, "tan", x, 0, ret); @@ -1281,9 +1287,9 @@ double CDECL MSVCRT_tan( double x ) } /********************************************************************* - * MSVCRT_tanh (MSVCRT.@) + * tanh (MSVCRT.@) */ -double CDECL MSVCRT_tanh( double x ) +double CDECL tanh( double x ) { double ret = unix_funcs->tanh(x); if (isnan(x)) return math_error(_DOMAIN, "tanh", x, 0, ret); @@ -1367,24 +1373,24 @@ double CDECL MSVCRT_tanh( double x ) __ASM_CFI(".cfi_same_value %ebp\n\t") \ "ret") -CREATE_FPU_FUNC1(_CIacos, MSVCRT_acos) -CREATE_FPU_FUNC1(_CIasin, MSVCRT_asin) -CREATE_FPU_FUNC1(_CIatan, MSVCRT_atan) -CREATE_FPU_FUNC2(_CIatan2, MSVCRT_atan2) -CREATE_FPU_FUNC1(_CIcos, MSVCRT_cos) -CREATE_FPU_FUNC1(_CIcosh, MSVCRT_cosh) -CREATE_FPU_FUNC1(_CIexp, MSVCRT_exp) -CREATE_FPU_FUNC2(_CIfmod, MSVCRT_fmod) -CREATE_FPU_FUNC1(_CIlog, MSVCRT_log) -CREATE_FPU_FUNC1(_CIlog10, MSVCRT_log10) -CREATE_FPU_FUNC2(_CIpow, MSVCRT_pow) -CREATE_FPU_FUNC1(_CIsin, MSVCRT_sin) -CREATE_FPU_FUNC1(_CIsinh, MSVCRT_sinh) -CREATE_FPU_FUNC1(_CIsqrt, MSVCRT_sqrt) -CREATE_FPU_FUNC1(_CItan, MSVCRT_tan) -CREATE_FPU_FUNC1(_CItanh, MSVCRT_tanh) - -__ASM_GLOBAL_FUNC(MSVCRT__ftol, +CREATE_FPU_FUNC1(_CIacos, acos) +CREATE_FPU_FUNC1(_CIasin, asin) +CREATE_FPU_FUNC1(_CIatan, atan) +CREATE_FPU_FUNC2(_CIatan2, atan2) +CREATE_FPU_FUNC1(_CIcos, cos) +CREATE_FPU_FUNC1(_CIcosh, cosh) +CREATE_FPU_FUNC1(_CIexp, exp) +CREATE_FPU_FUNC2(_CIfmod, fmod) +CREATE_FPU_FUNC1(_CIlog, log) +CREATE_FPU_FUNC1(_CIlog10, log10) +CREATE_FPU_FUNC2(_CIpow, pow) +CREATE_FPU_FUNC1(_CIsin, sin) +CREATE_FPU_FUNC1(_CIsinh, sinh) +CREATE_FPU_FUNC1(_CIsqrt, sqrt) +CREATE_FPU_FUNC1(_CItan, tan) +CREATE_FPU_FUNC1(_CItanh, tanh) + +__ASM_GLOBAL_FUNC(_ftol, "pushl %ebp\n\t" __ASM_CFI(".cfi_adjust_cfa_offset 4\n\t") __ASM_CFI(".cfi_rel_offset %ebp,0\n\t") @@ -1410,7 +1416,7 @@ __ASM_GLOBAL_FUNC(MSVCRT__ftol, /********************************************************************* * _fpclass (MSVCRT.@) */ -int CDECL MSVCRT__fpclass(double num) +int CDECL _fpclass(double num) { union { double f; UINT64 i; } u = { num }; int e = u.i >> 52 & 0x7ff; @@ -1441,7 +1447,7 @@ unsigned int CDECL _rotl(unsigned int num, int shift) /********************************************************************* * _lrotl (MSVCRT.@) */ -__msvcrt_ulong CDECL MSVCRT__lrotl(__msvcrt_ulong num, int shift) +__msvcrt_ulong CDECL _lrotl(__msvcrt_ulong num, int shift) { shift &= 0x1f; return (num << shift) | (num >> (32-shift)); @@ -1450,7 +1456,7 @@ __msvcrt_ulong CDECL MSVCRT__lrotl(__msvcrt_ulong num, int shift) /********************************************************************* * _lrotr (MSVCRT.@) */ -__msvcrt_ulong CDECL MSVCRT__lrotr(__msvcrt_ulong num, int shift) +__msvcrt_ulong CDECL _lrotr(__msvcrt_ulong num, int shift) { shift &= 0x1f; return (num >> shift) | (num << (32-shift)); @@ -1486,7 +1492,7 @@ unsigned __int64 CDECL _rotr64(unsigned __int64 num, int shift) /********************************************************************* * abs (MSVCRT.@) */ -int CDECL MSVCRT_abs( int n ) +int CDECL abs( int n ) { return n >= 0 ? n : -n; } @@ -1494,7 +1500,7 @@ int CDECL MSVCRT_abs( int n ) /********************************************************************* * labs (MSVCRT.@) */ -__msvcrt_long CDECL MSVCRT_labs( __msvcrt_long n ) +__msvcrt_long CDECL labs( __msvcrt_long n ) { return n >= 0 ? n : -n; } @@ -1503,7 +1509,7 @@ __msvcrt_long CDECL MSVCRT_labs( __msvcrt_long n ) /********************************************************************* * llabs (MSVCR100.@) */ -__int64 CDECL MSVCRT_llabs( __int64 n ) +__int64 CDECL llabs( __int64 n ) { return n >= 0 ? n : -n; } @@ -1513,7 +1519,7 @@ __int64 CDECL MSVCRT_llabs( __int64 n ) /********************************************************************* * imaxabs (MSVCR120.@) */ -intmax_t CDECL MSVCRT_imaxabs( intmax_t n ) +intmax_t CDECL imaxabs( intmax_t n ) { return n >= 0 ? n : -n; } @@ -1530,7 +1536,7 @@ __int64 CDECL _abs64( __int64 n ) /********************************************************************* * _logb (MSVCRT.@) */ -double CDECL MSVCRT__logb(double num) +double CDECL _logb(double num) { double ret = unix_funcs->logb(num); if (isnan(num)) return math_error(_DOMAIN, "_logb", num, 0, ret); @@ -1550,7 +1556,7 @@ double CDECL _hypot(double x, double y) /********************************************************************* * _hypotf (MSVCRT.@) */ -float CDECL MSVCRT__hypotf(float x, float y) +float CDECL _hypotf(float x, float y) { /* FIXME: errno handling */ return unix_funcs->hypotf( x, y ); @@ -1559,7 +1565,7 @@ float CDECL MSVCRT__hypotf(float x, float y) /********************************************************************* * ceil (MSVCRT.@) */ -double CDECL MSVCRT_ceil( double x ) +double CDECL ceil( double x ) { return unix_funcs->ceil(x); } @@ -1567,7 +1573,7 @@ double CDECL MSVCRT_ceil( double x ) /********************************************************************* * floor (MSVCRT.@) */ -double CDECL MSVCRT_floor( double x ) +double CDECL floor( double x ) { return unix_funcs->floor(x); } @@ -1575,7 +1581,7 @@ double CDECL MSVCRT_floor( double x ) /********************************************************************* * fma (MSVCRT.@) */ -double CDECL MSVCRT_fma( double x, double y, double z ) +double CDECL fma( double x, double y, double z ) { double w = unix_funcs->fma(x, y, z); if ((isinf(x) && y == 0) || (x == 0 && isinf(y))) *_errno() = EDOM; @@ -1587,7 +1593,7 @@ double CDECL MSVCRT_fma( double x, double y, double z ) /********************************************************************* * fmaf (MSVCRT.@) */ -float CDECL MSVCRT_fmaf( float x, float y, float z ) +float CDECL fmaf( float x, float y, float z ) { float w = unix_funcs->fmaf(x, y, z); if ((isinf(x) && y == 0) || (x == 0 && isinf(y))) *_errno() = EDOM; @@ -1601,7 +1607,7 @@ float CDECL MSVCRT_fmaf( float x, float y, float z ) * * Copied from musl: src/math/fabsf.c */ -double CDECL MSVCRT_fabs( double x ) +double CDECL fabs( double x ) { union { double f; UINT64 i; } u = { x }; u.i &= ~0ull >> 1; @@ -1611,7 +1617,7 @@ double CDECL MSVCRT_fabs( double x ) /********************************************************************* * frexp (MSVCRT.@) */ -double CDECL MSVCRT_frexp( double x, int *exp ) +double CDECL frexp( double x, int *exp ) { return unix_funcs->frexp( x, exp ); } @@ -1619,7 +1625,7 @@ double CDECL MSVCRT_frexp( double x, int *exp ) /********************************************************************* * modf (MSVCRT.@) */ -double CDECL MSVCRT_modf( double x, double *iptr ) +double CDECL modf( double x, double *iptr ) { return unix_funcs->modf( x, iptr ); } @@ -1756,7 +1762,7 @@ int * CDECL __fpecode(void) /********************************************************************* * ldexp (MSVCRT.@) */ -double CDECL MSVCRT_ldexp(double num, __msvcrt_long exp) +double CDECL ldexp(double num, int exp) { double z = unix_funcs->ldexp(num,exp); @@ -1772,15 +1778,15 @@ double CDECL MSVCRT_ldexp(double num, __msvcrt_long exp) /********************************************************************* * _cabs (MSVCRT.@) */ -double CDECL MSVCRT__cabs(struct _complex num) +double CDECL _cabs(struct _complex num) { - return MSVCRT_sqrt(num.x * num.x + num.y * num.y); + return sqrt(num.x * num.x + num.y * num.y); } /********************************************************************* * _chgsign (MSVCRT.@) */ -double CDECL MSVCRT__chgsign(double num) +double CDECL _chgsign(double num) { union { double f; UINT64 i; } u = { num }; u.i ^= 1ull << 63; @@ -2068,7 +2074,7 @@ int CDECL _controlfp_s(unsigned int *cur, unsigned int newval, unsigned int mask /********************************************************************* * fegetenv (MSVCR120.@) */ -int CDECL MSVCRT_fegetenv(fenv_t *env) +int CDECL fegetenv(fenv_t *env) { env->_Fe_ctl = _controlfp(0, 0) & (_EM_INEXACT | _EM_UNDERFLOW | _EM_OVERFLOW | _EM_ZERODIVIDE | _EM_INVALID | _RC_CHOP); @@ -2101,7 +2107,7 @@ int CDECL __fpe_flt_rounds(void) /********************************************************************* * fegetround (MSVCR120.@) */ -int CDECL MSVCRT_fegetround(void) +int CDECL fegetround(void) { return _controlfp(0, 0) & _RC_CHOP; } @@ -2109,7 +2115,7 @@ int CDECL MSVCRT_fegetround(void) /********************************************************************* * fesetround (MSVCR120.@) */ -int CDECL MSVCRT_fesetround(int round_mode) +int CDECL fesetround(int round_mode) { if (round_mode & (~_RC_CHOP)) return 1; @@ -2124,7 +2130,7 @@ int CDECL MSVCRT_fesetround(int round_mode) * * Copied from musl: src/math/copysign.c */ -double CDECL MSVCRT__copysign( double x, double y ) +double CDECL _copysign( double x, double y ) { union { double f; UINT64 i; } ux = { x }, uy = { y }; ux.i &= ~0ull >> 1; @@ -2135,7 +2141,7 @@ double CDECL MSVCRT__copysign( double x, double y ) /********************************************************************* * _finite (MSVCRT.@) */ -int CDECL MSVCRT__finite(double num) +int CDECL _finite(double num) { union { double f; UINT64 i; } u = { num }; return (u.i & ~0ull >> 1) < 0x7ffull << 52; @@ -2163,7 +2169,7 @@ void CDECL _fpreset(void) /********************************************************************* * fesetenv (MSVCR120.@) */ -int CDECL MSVCRT_fesetenv(const fenv_t *env) +int CDECL fesetenv(const fenv_t *env) { #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) struct { @@ -2243,7 +2249,7 @@ int CDECL MSVCRT_fesetenv(const fenv_t *env) /********************************************************************* * _isnan (MSVCRT.@) */ -int CDECL MSVCRT__isnan(double num) +int CDECL _isnan(double num) { union { double f; UINT64 i; } u = { num }; return (u.i & ~0ull >> 1) > 0x7ffull << 52; @@ -2252,7 +2258,7 @@ int CDECL MSVCRT__isnan(double num) /********************************************************************* * _j0 (MSVCRT.@) */ -double CDECL MSVCRT__j0(double num) +double CDECL _j0(double num) { /* FIXME: errno handling */ return unix_funcs->j0( num ); @@ -2261,7 +2267,7 @@ double CDECL MSVCRT__j0(double num) /********************************************************************* * _j1 (MSVCRT.@) */ -double CDECL MSVCRT__j1(double num) +double CDECL _j1(double num) { /* FIXME: errno handling */ return unix_funcs->j1( num ); @@ -2270,7 +2276,7 @@ double CDECL MSVCRT__j1(double num) /********************************************************************* * _jn (MSVCRT.@) */ -double CDECL MSVCRT__jn(int n, double num) +double CDECL _jn(int n, double num) { /* FIXME: errno handling */ return unix_funcs->jn( n, num ); @@ -2279,13 +2285,13 @@ double CDECL MSVCRT__jn(int n, double num) /********************************************************************* * _y0 (MSVCRT.@) */ -double CDECL MSVCRT__y0(double num) +double CDECL _y0(double num) { double retval; if (!isfinite(num)) *_errno() = EDOM; retval = unix_funcs->y0( num ); - if (MSVCRT__fpclass(retval) == _FPCLASS_NINF) + if (_fpclass(retval) == _FPCLASS_NINF) { *_errno() = EDOM; retval = NAN; @@ -2296,13 +2302,13 @@ double CDECL MSVCRT__y0(double num) /********************************************************************* * _y1 (MSVCRT.@) */ -double CDECL MSVCRT__y1(double num) +double CDECL _y1(double num) { double retval; if (!isfinite(num)) *_errno() = EDOM; retval = unix_funcs->y1( num ); - if (MSVCRT__fpclass(retval) == _FPCLASS_NINF) + if (_fpclass(retval) == _FPCLASS_NINF) { *_errno() = EDOM; retval = NAN; @@ -2313,13 +2319,13 @@ double CDECL MSVCRT__y1(double num) /********************************************************************* * _yn (MSVCRT.@) */ -double CDECL MSVCRT__yn(int order, double num) +double CDECL _yn(int order, double num) { double retval; if (!isfinite(num)) *_errno() = EDOM; retval = unix_funcs->yn( order, num ); - if (MSVCRT__fpclass(retval) == _FPCLASS_NINF) + if (_fpclass(retval) == _FPCLASS_NINF) { *_errno() = EDOM; retval = NAN; @@ -2332,7 +2338,7 @@ double CDECL MSVCRT__yn(int order, double num) /********************************************************************* * _nearbyint (MSVCR120.@) */ -double CDECL MSVCRT_nearbyint(double num) +double CDECL nearbyint(double num) { return unix_funcs->nearbyint( num ); } @@ -2340,7 +2346,7 @@ double CDECL MSVCRT_nearbyint(double num) /********************************************************************* * _nearbyintf (MSVCR120.@) */ -float CDECL MSVCRT_nearbyintf(float num) +float CDECL nearbyintf(float num) { return unix_funcs->nearbyintf( num ); } @@ -2351,7 +2357,7 @@ float CDECL MSVCRT_nearbyintf(float num) double CDECL MSVCRT_nexttoward(double num, double next) { double ret = unix_funcs->nexttoward(num, next); - if (!(MSVCRT__fpclass(ret) & (_FPCLASS_PN | _FPCLASS_NN + if (!(_fpclass(ret) & (_FPCLASS_PN | _FPCLASS_NN | _FPCLASS_SNAN | _FPCLASS_QNAN)) && !isinf(num)) { *_errno() = ERANGE; @@ -2365,7 +2371,7 @@ double CDECL MSVCRT_nexttoward(double num, double next) float CDECL MSVCRT_nexttowardf(float num, double next) { float ret = unix_funcs->nexttowardf( num, next ); - if (!(MSVCRT__fpclass(ret) & (_FPCLASS_PN | _FPCLASS_NN + if (!(_fpclass(ret) & (_FPCLASS_PN | _FPCLASS_NN | _FPCLASS_SNAN | _FPCLASS_QNAN)) && !isinf(num)) { *_errno() = ERANGE; @@ -2378,7 +2384,7 @@ float CDECL MSVCRT_nexttowardf(float num, double next) /********************************************************************* * _nextafter (MSVCRT.@) */ -double CDECL MSVCRT__nextafter(double num, double next) +double CDECL _nextafter(double num, double next) { double retval; if (!isfinite(num) || !isfinite(next)) *_errno() = EDOM; @@ -2389,7 +2395,7 @@ double CDECL MSVCRT__nextafter(double num, double next) /********************************************************************* * _ecvt (MSVCRT.@) */ -char * CDECL MSVCRT__ecvt( double number, int ndigits, int *decpt, int *sign ) +char * CDECL _ecvt( double number, int ndigits, int *decpt, int *sign ) { int prec, len; thread_data_t *data = msvcrt_get_thread_data(); @@ -2433,7 +2439,7 @@ char * CDECL MSVCRT__ecvt( double number, int ndigits, int *decpt, int *sign ) /********************************************************************* * _ecvt_s (MSVCRT.@) */ -int CDECL MSVCRT__ecvt_s( char *buffer, size_t length, double number, int ndigits, int *decpt, int *sign ) +int CDECL _ecvt_s( char *buffer, size_t length, double number, int ndigits, int *decpt, int *sign ) { int prec, len; char *result; @@ -2494,7 +2500,7 @@ int CDECL MSVCRT__ecvt_s( char *buffer, size_t length, double number, int ndigit /*********************************************************************** * _fcvt (MSVCRT.@) */ -char * CDECL MSVCRT__fcvt( double number, int ndigits, int *decpt, int *sign ) +char * CDECL _fcvt( double number, int ndigits, int *decpt, int *sign ) { thread_data_t *data = msvcrt_get_thread_data(); int stop, dec1, dec2; @@ -2521,7 +2527,7 @@ char * CDECL MSVCRT__fcvt( double number, int ndigits, int *decpt, int *sign ) /* For numbers below the requested resolution, work out where the decimal point will be rather than finding it in the string */ if (number < 1.0 && number > 0.0) { - dec2 = MSVCRT_log10(number + 1e-10); + dec2 = log10(number + 1e-10); if (-dec2 <= ndigits) dec2 = 0; } @@ -2576,7 +2582,7 @@ char * CDECL MSVCRT__fcvt( double number, int ndigits, int *decpt, int *sign ) /*********************************************************************** * _fcvt_s (MSVCRT.@) */ -int CDECL MSVCRT__fcvt_s(char* outbuffer, size_t size, double number, int ndigits, int *decpt, int *sign) +int CDECL _fcvt_s(char* outbuffer, size_t size, double number, int ndigits, int *decpt, int *sign) { int stop, dec1, dec2; char *ptr1, *ptr2, *first; @@ -2605,7 +2611,7 @@ int CDECL MSVCRT__fcvt_s(char* outbuffer, size_t size, double number, int ndigit /* For numbers below the requested resolution, work out where the decimal point will be rather than finding it in the string */ if (number < 1.0 && number > 0.0) { - dec2 = MSVCRT_log10(number + 1e-10); + dec2 = log10(number + 1e-10); if (-dec2 <= ndigits) dec2 = 0; } @@ -2664,7 +2670,7 @@ int CDECL MSVCRT__fcvt_s(char* outbuffer, size_t size, double number, int ndigit /*********************************************************************** * _gcvt (MSVCRT.@) */ -char * CDECL MSVCRT__gcvt( double number, int ndigit, char *buff ) +char * CDECL _gcvt( double number, int ndigit, char *buff ) { if(!buff) { *_errno() = EINVAL; @@ -2683,7 +2689,7 @@ char * CDECL MSVCRT__gcvt( double number, int ndigit, char *buff ) /*********************************************************************** * _gcvt_s (MSVCRT.@) */ -int CDECL MSVCRT__gcvt_s(char *buff, size_t size, double number, int digits) +int CDECL _gcvt_s(char *buff, size_t size, double number, int digits) { int len; @@ -2719,7 +2725,7 @@ int CDECL MSVCRT__gcvt_s(char *buff, size_t size, double number, int digits) * [i386] Windows binary compatible - returns the struct in eax/edx. */ #ifdef __i386__ -unsigned __int64 CDECL MSVCRT_div(int num, int denom) +unsigned __int64 CDECL div(int num, int denom) { union { div_t div; @@ -2736,7 +2742,7 @@ unsigned __int64 CDECL MSVCRT_div(int num, int denom) * VERSION * [!i386] Non-x86 can't run win32 apps so we don't need binary compatibility */ -div_t CDECL MSVCRT_div(int num, int denom) +div_t CDECL div(int num, int denom) { div_t ret; @@ -2753,7 +2759,7 @@ div_t CDECL MSVCRT_div(int num, int denom) * [i386] Windows binary compatible - returns the struct in eax/edx. */ #ifdef __i386__ -unsigned __int64 CDECL MSVCRT_ldiv(__msvcrt_long num, __msvcrt_long denom) +unsigned __int64 CDECL ldiv(__msvcrt_long num, __msvcrt_long denom) { union { ldiv_t ldiv; @@ -2770,7 +2776,7 @@ unsigned __int64 CDECL MSVCRT_ldiv(__msvcrt_long num, __msvcrt_long denom) * VERSION * [!i386] Non-x86 can't run win32 apps so we don't need binary compatibility */ -ldiv_t CDECL MSVCRT_ldiv(__msvcrt_long num, __msvcrt_long denom) +ldiv_t CDECL ldiv(__msvcrt_long num, __msvcrt_long denom) { ldiv_t ret; @@ -2784,7 +2790,7 @@ ldiv_t CDECL MSVCRT_ldiv(__msvcrt_long num, __msvcrt_long denom) /********************************************************************* * lldiv (MSVCR100.@) */ -lldiv_t CDECL MSVCRT_lldiv(__int64 num, __int64 denom) +lldiv_t CDECL lldiv(__int64 num, __int64 denom) { lldiv_t ret; @@ -3029,242 +3035,242 @@ void _safe_fprem1(void) /*********************************************************************** * __libm_sse2_acos (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_acos(void) +void __cdecl __libm_sse2_acos(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_acos( d ); + d = acos( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_acosf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_acosf(void) +void __cdecl __libm_sse2_acosf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_acosf( f ); + f = acosf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_asin (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_asin(void) +void __cdecl __libm_sse2_asin(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_asin( d ); + d = asin( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_asinf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_asinf(void) +void __cdecl __libm_sse2_asinf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_asinf( f ); + f = asinf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_atan (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_atan(void) +void __cdecl __libm_sse2_atan(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_atan( d ); + d = atan( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_atan2 (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_atan2(void) +void __cdecl __libm_sse2_atan2(void) { double d1, d2; __asm__ __volatile__( "movq %%xmm0,%0; movq %%xmm1,%1 " : "=m" (d1), "=m" (d2) ); - d1 = MSVCRT_atan2( d1, d2 ); + d1 = atan2( d1, d2 ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d1) ); } /*********************************************************************** * __libm_sse2_atanf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_atanf(void) +void __cdecl __libm_sse2_atanf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_atanf( f ); + f = atanf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_cos (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_cos(void) +void __cdecl __libm_sse2_cos(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_cos( d ); + d = cos( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_cosf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_cosf(void) +void __cdecl __libm_sse2_cosf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_cosf( f ); + f = cosf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_exp (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_exp(void) +void __cdecl __libm_sse2_exp(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_exp( d ); + d = exp( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_expf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_expf(void) +void __cdecl __libm_sse2_expf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_expf( f ); + f = expf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_log (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_log(void) +void __cdecl __libm_sse2_log(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_log( d ); + d = log( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_log10 (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_log10(void) +void __cdecl __libm_sse2_log10(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_log10( d ); + d = log10( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_log10f (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_log10f(void) +void __cdecl __libm_sse2_log10f(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_log10f( f ); + f = log10f( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_logf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_logf(void) +void __cdecl __libm_sse2_logf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_logf( f ); + f = logf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_pow (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_pow(void) +void __cdecl __libm_sse2_pow(void) { double d1, d2; __asm__ __volatile__( "movq %%xmm0,%0; movq %%xmm1,%1 " : "=m" (d1), "=m" (d2) ); - d1 = MSVCRT_pow( d1, d2 ); + d1 = pow( d1, d2 ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d1) ); } /*********************************************************************** * __libm_sse2_powf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_powf(void) +void __cdecl __libm_sse2_powf(void) { float f1, f2; __asm__ __volatile__( "movd %%xmm0,%0; movd %%xmm1,%1" : "=g" (f1), "=g" (f2) ); - f1 = MSVCRT_powf( f1, f2 ); + f1 = powf( f1, f2 ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f1) ); } /*********************************************************************** * __libm_sse2_sin (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_sin(void) +void __cdecl __libm_sse2_sin(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_sin( d ); + d = sin( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_sinf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_sinf(void) +void __cdecl __libm_sse2_sinf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_sinf( f ); + f = sinf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_tan (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_tan(void) +void __cdecl __libm_sse2_tan(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_tan( d ); + d = tan( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } /*********************************************************************** * __libm_sse2_tanf (MSVCRT.@) */ -void __cdecl MSVCRT___libm_sse2_tanf(void) +void __cdecl __libm_sse2_tanf(void) { float f; __asm__ __volatile__( "movd %%xmm0,%0" : "=g" (f) ); - f = MSVCRT_tanf( f ); + f = tanf( f ); __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); } /*********************************************************************** * __libm_sse2_sqrt_precise (MSVCR110.@) */ -void __cdecl MSVCRT___libm_sse2_sqrt_precise(void) +void __cdecl __libm_sse2_sqrt_precise(void) { double d; __asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) ); - d = MSVCRT_sqrt( d ); + d = sqrt( d ); __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); } @@ -3273,7 +3279,7 @@ void __cdecl MSVCRT___libm_sse2_sqrt_precise(void) /********************************************************************* * cbrt (MSVCR120.@) */ -double CDECL MSVCR120_cbrt(double x) +double CDECL cbrt(double x) { return unix_funcs->cbrt( x ); } @@ -3281,7 +3287,7 @@ double CDECL MSVCR120_cbrt(double x) /********************************************************************* * cbrtf (MSVCR120.@) */ -float CDECL MSVCR120_cbrtf(float x) +float CDECL cbrtf(float x) { return unix_funcs->cbrtf( x ); } @@ -3291,13 +3297,13 @@ float CDECL MSVCR120_cbrtf(float x) */ LDOUBLE CDECL MSVCR120_cbrtl(LDOUBLE x) { - return MSVCR120_cbrt(x); + return cbrt(x); } /********************************************************************* * exp2 (MSVCR120.@) */ -double CDECL MSVCR120_exp2(double x) +double CDECL exp2(double x) { double ret = unix_funcs->exp2( x ); if (isfinite(x) && !isfinite(ret)) *_errno() = ERANGE; @@ -3307,7 +3313,7 @@ double CDECL MSVCR120_exp2(double x) /********************************************************************* * exp2f (MSVCR120.@) */ -float CDECL MSVCR120_exp2f(float x) +float CDECL exp2f(float x) { float ret = unix_funcs->exp2f( x ); if (isfinite(x) && !isfinite(ret)) *_errno() = ERANGE; @@ -3319,13 +3325,13 @@ float CDECL MSVCR120_exp2f(float x) */ LDOUBLE CDECL MSVCR120_exp2l(LDOUBLE x) { - return MSVCR120_exp2(x); + return exp2(x); } /********************************************************************* * expm1 (MSVCR120.@) */ -double CDECL MSVCR120_expm1(double x) +double CDECL expm1(double x) { double ret = unix_funcs->expm1( x ); if (isfinite(x) && !isfinite(ret)) *_errno() = ERANGE; @@ -3335,7 +3341,7 @@ double CDECL MSVCR120_expm1(double x) /********************************************************************* * expm1f (MSVCR120.@) */ -float CDECL MSVCR120_expm1f(float x) +float CDECL expm1f(float x) { float ret = unix_funcs->expm1f( x ); if (isfinite(x) && !isfinite(ret)) *_errno() = ERANGE; @@ -3347,13 +3353,13 @@ float CDECL MSVCR120_expm1f(float x) */ LDOUBLE CDECL MSVCR120_expm1l(LDOUBLE x) { - return MSVCR120_expm1(x); + return expm1(x); } /********************************************************************* * log1p (MSVCR120.@) */ -double CDECL MSVCR120_log1p(double x) +double CDECL log1p(double x) { if (x < -1) *_errno() = EDOM; else if (x == -1) *_errno() = ERANGE; @@ -3363,7 +3369,7 @@ double CDECL MSVCR120_log1p(double x) /********************************************************************* * log1pf (MSVCR120.@) */ -float CDECL MSVCR120_log1pf(float x) +float CDECL log1pf(float x) { if (x < -1) *_errno() = EDOM; else if (x == -1) *_errno() = ERANGE; @@ -3375,13 +3381,13 @@ float CDECL MSVCR120_log1pf(float x) */ LDOUBLE CDECL MSVCR120_log1pl(LDOUBLE x) { - return MSVCR120_log1p(x); + return log1p(x); } /********************************************************************* * log2 (MSVCR120.@) */ -double CDECL MSVCR120_log2(double x) +double CDECL log2(double x) { if (x < 0) *_errno() = EDOM; else if (x == 0) *_errno() = ERANGE; @@ -3391,7 +3397,7 @@ double CDECL MSVCR120_log2(double x) /********************************************************************* * log2f (MSVCR120.@) */ -float CDECL MSVCR120_log2f(float x) +float CDECL log2f(float x) { if (x < 0) *_errno() = EDOM; else if (x == 0) *_errno() = ERANGE; @@ -3403,13 +3409,13 @@ float CDECL MSVCR120_log2f(float x) */ LDOUBLE CDECL MSVCR120_log2l(LDOUBLE x) { - return MSVCR120_log2(x); + return log2(x); } /********************************************************************* * rint (MSVCR120.@) */ -double CDECL MSVCR120_rint(double x) +double CDECL rint(double x) { return unix_funcs->rint(x); } @@ -3417,7 +3423,7 @@ double CDECL MSVCR120_rint(double x) /********************************************************************* * rintf (MSVCR120.@) */ -float CDECL MSVCR120_rintf(float x) +float CDECL rintf(float x) { return unix_funcs->rintf(x); } @@ -3427,13 +3433,13 @@ float CDECL MSVCR120_rintf(float x) */ LDOUBLE CDECL MSVCR120_rintl(LDOUBLE x) { - return MSVCR120_rint(x); + return rint(x); } /********************************************************************* * lrint (MSVCR120.@) */ -__msvcrt_long CDECL MSVCR120_lrint(double x) +__msvcrt_long CDECL lrint(double x) { return unix_funcs->lrint( x ); } @@ -3441,7 +3447,7 @@ __msvcrt_long CDECL MSVCR120_lrint(double x) /********************************************************************* * lrintf (MSVCR120.@) */ -__msvcrt_long CDECL MSVCR120_lrintf(float x) +__msvcrt_long CDECL lrintf(float x) { return unix_funcs->lrintf( x ); } @@ -3451,13 +3457,13 @@ __msvcrt_long CDECL MSVCR120_lrintf(float x) */ __msvcrt_long CDECL MSVCR120_lrintl(LDOUBLE x) { - return MSVCR120_lrint(x); + return lrint(x); } /********************************************************************* * llrint (MSVCR120.@) */ -__int64 CDECL MSVCR120_llrint(double x) +__int64 CDECL llrint(double x) { return unix_funcs->llrint( x ); } @@ -3465,7 +3471,7 @@ __int64 CDECL MSVCR120_llrint(double x) /********************************************************************* * llrintf (MSVCR120.@) */ -__int64 CDECL MSVCR120_llrintf(float x) +__int64 CDECL llrintf(float x) { return unix_funcs->llrintf( x ); } @@ -3475,7 +3481,7 @@ __int64 CDECL MSVCR120_llrintf(float x) */ __int64 CDECL MSVCR120_llrintl(LDOUBLE x) { - return MSVCR120_llrint(x); + return llrint(x); } #if _MSVCR_VER>=120 @@ -3483,7 +3489,7 @@ __int64 CDECL MSVCR120_llrintl(LDOUBLE x) /********************************************************************* * round (MSVCR120.@) */ -double CDECL MSVCR120_round(double x) +double CDECL round(double x) { return unix_funcs->round(x); } @@ -3491,7 +3497,7 @@ double CDECL MSVCR120_round(double x) /********************************************************************* * roundf (MSVCR120.@) */ -float CDECL MSVCR120_roundf(float x) +float CDECL roundf(float x) { return unix_funcs->roundf(x); } @@ -3501,13 +3507,13 @@ float CDECL MSVCR120_roundf(float x) */ LDOUBLE CDECL MSVCR120_roundl(LDOUBLE x) { - return MSVCR120_round(x); + return round(x); } /********************************************************************* * lround (MSVCR120.@) */ -__msvcrt_long CDECL MSVCR120_lround(double x) +__msvcrt_long CDECL lround(double x) { return unix_funcs->lround( x ); } @@ -3515,7 +3521,7 @@ __msvcrt_long CDECL MSVCR120_lround(double x) /********************************************************************* * lroundf (MSVCR120.@) */ -__msvcrt_long CDECL MSVCR120_lroundf(float x) +__msvcrt_long CDECL lroundf(float x) { return unix_funcs->lroundf( x ); } @@ -3525,13 +3531,13 @@ __msvcrt_long CDECL MSVCR120_lroundf(float x) */ __msvcrt_long CDECL MSVCR120_lroundl(LDOUBLE x) { - return MSVCR120_lround(x); + return lround(x); } /********************************************************************* * llround (MSVCR120.@) */ -__int64 CDECL MSVCR120_llround(double x) +__int64 CDECL llround(double x) { return unix_funcs->llround( x ); } @@ -3539,7 +3545,7 @@ __int64 CDECL MSVCR120_llround(double x) /********************************************************************* * llroundf (MSVCR120.@) */ -__int64 CDECL MSVCR120_llroundf(float x) +__int64 CDECL llroundf(float x) { return unix_funcs->llroundf( x ); } @@ -3549,13 +3555,13 @@ __int64 CDECL MSVCR120_llroundf(float x) */ __int64 CDECL MSVCR120_llroundl(LDOUBLE x) { - return MSVCR120_llround(x); + return llround(x); } /********************************************************************* * trunc (MSVCR120.@) */ -double CDECL MSVCR120_trunc(double x) +double CDECL trunc(double x) { return unix_funcs->trunc(x); } @@ -3563,7 +3569,7 @@ double CDECL MSVCR120_trunc(double x) /********************************************************************* * truncf (MSVCR120.@) */ -float CDECL MSVCR120_truncf(float x) +float CDECL truncf(float x) { return unix_funcs->truncf(x); } @@ -3573,7 +3579,7 @@ float CDECL MSVCR120_truncf(float x) */ LDOUBLE CDECL MSVCR120_truncl(LDOUBLE x) { - return MSVCR120_trunc(x); + return trunc(x); } /********************************************************************* @@ -3581,7 +3587,7 @@ LDOUBLE CDECL MSVCR120_truncl(LDOUBLE x) * * Copied from musl: src/math/__fpclassify.c */ -short CDECL MSVCR120__dclass(double x) +short CDECL _dclass(double x) { union { double f; UINT64 i; } u = { x }; int e = u.i >> 52 & 0x7ff; @@ -3596,7 +3602,7 @@ short CDECL MSVCR120__dclass(double x) * * Copied from musl: src/math/__fpclassifyf.c */ -short CDECL MSVCR120__fdclass(float x) +short CDECL _fdclass(float x) { union { float f; UINT32 i; } u = { x }; int e = u.i >> 23 & 0xff; @@ -3609,39 +3615,39 @@ short CDECL MSVCR120__fdclass(float x) /********************************************************************* * _ldclass (MSVCR120.@) */ -short CDECL MSVCR120__ldclass(LDOUBLE x) +short CDECL _ldclass(LDOUBLE x) { - return MSVCR120__dclass(x); + return _dclass(x); } /********************************************************************* * _dtest (MSVCR120.@) */ -short CDECL MSVCR120__dtest(double *x) +short CDECL _dtest(double *x) { - return MSVCR120__dclass(*x); + return _dclass(*x); } /********************************************************************* * _fdtest (MSVCR120.@) */ -short CDECL MSVCR120__fdtest(float *x) +short CDECL _fdtest(float *x) { - return MSVCR120__fdclass(*x); + return _fdclass(*x); } /********************************************************************* * _ldtest (MSVCR120.@) */ -short CDECL MSVCR120__ldtest(LDOUBLE *x) +short CDECL _ldtest(LDOUBLE *x) { - return MSVCR120__dclass(*x); + return _dclass(*x); } /********************************************************************* * erf (MSVCR120.@) */ -double CDECL MSVCR120_erf(double x) +double CDECL erf(double x) { return unix_funcs->erf( x ); } @@ -3649,7 +3655,7 @@ double CDECL MSVCR120_erf(double x) /********************************************************************* * erff (MSVCR120.@) */ -float CDECL MSVCR120_erff(float x) +float CDECL erff(float x) { return unix_funcs->erff( x ); } @@ -3659,13 +3665,13 @@ float CDECL MSVCR120_erff(float x) */ LDOUBLE CDECL MSVCR120_erfl(LDOUBLE x) { - return MSVCR120_erf(x); + return erf(x); } /********************************************************************* * erfc (MSVCR120.@) */ -double CDECL MSVCR120_erfc(double x) +double CDECL erfc(double x) { return unix_funcs->erfc( x ); } @@ -3673,7 +3679,7 @@ double CDECL MSVCR120_erfc(double x) /********************************************************************* * erfcf (MSVCR120.@) */ -float CDECL MSVCR120_erfcf(float x) +float CDECL erfcf(float x) { return unix_funcs->erfcf( x ); } @@ -3683,13 +3689,13 @@ float CDECL MSVCR120_erfcf(float x) */ LDOUBLE CDECL MSVCR120_erfcl(LDOUBLE x) { - return MSVCR120_erfc(x); + return erfc(x); } /********************************************************************* * fmaxf (MSVCR120.@) */ -float CDECL MSVCR120_fmaxf(float x, float y) +float CDECL fmaxf(float x, float y) { if(isnan(x)) return y; @@ -3703,7 +3709,7 @@ float CDECL MSVCR120_fmaxf(float x, float y) /********************************************************************* * fmax (MSVCR120.@) */ -double CDECL MSVCR120_fmax(double x, double y) +double CDECL fmax(double x, double y) { if(isnan(x)) return y; @@ -3717,7 +3723,7 @@ double CDECL MSVCR120_fmax(double x, double y) /********************************************************************* * fdimf (MSVCR120.@) */ -float CDECL MSVCR120_fdimf(float x, float y) +float CDECL fdimf(float x, float y) { if(isnan(x)) return x; @@ -3729,7 +3735,7 @@ float CDECL MSVCR120_fdimf(float x, float y) /********************************************************************* * fdim (MSVCR120.@) */ -double CDECL MSVCR120_fdim(double x, double y) +double CDECL fdim(double x, double y) { if(isnan(x)) return x; @@ -3741,7 +3747,7 @@ double CDECL MSVCR120_fdim(double x, double y) /********************************************************************* * _fdsign (MSVCR120.@) */ -int CDECL MSVCR120__fdsign(float x) +int CDECL _fdsign(float x) { union { float f; UINT32 i; } u = { x }; return (u.i >> 16) & 0x8000; @@ -3750,7 +3756,7 @@ int CDECL MSVCR120__fdsign(float x) /********************************************************************* * _dsign (MSVCR120.@) */ -int CDECL MSVCR120__dsign(double x) +int CDECL _dsign(double x) { union { double f; UINT64 i; } u = { x }; return (u.i >> 48) & 0x8000; @@ -3760,7 +3766,7 @@ int CDECL MSVCR120__dsign(double x) /********************************************************************* * _dpcomp (MSVCR120.@) */ -int CDECL MSVCR120__dpcomp(double x, double y) +int CDECL _dpcomp(double x, double y) { if(isnan(x) || isnan(y)) return 0; @@ -3772,15 +3778,15 @@ int CDECL MSVCR120__dpcomp(double x, double y) /********************************************************************* * _fdpcomp (MSVCR120.@) */ -int CDECL MSVCR120__fdpcomp(float x, float y) +int CDECL _fdpcomp(float x, float y) { - return MSVCR120__dpcomp(x, y); + return _dpcomp(x, y); } /********************************************************************* * fminf (MSVCR120.@) */ -float CDECL MSVCR120_fminf(float x, float y) +float CDECL fminf(float x, float y) { if(isnan(x)) return y; @@ -3794,7 +3800,7 @@ float CDECL MSVCR120_fminf(float x, float y) /********************************************************************* * fmin (MSVCR120.@) */ -double CDECL MSVCR120_fmin(double x, double y) +double CDECL fmin(double x, double y) { if(isnan(x)) return y; @@ -3808,7 +3814,7 @@ double CDECL MSVCR120_fmin(double x, double y) /********************************************************************* * asinh (MSVCR120.@) */ -double CDECL MSVCR120_asinh(double x) +double CDECL asinh(double x) { return unix_funcs->asinh( x ); } @@ -3816,7 +3822,7 @@ double CDECL MSVCR120_asinh(double x) /********************************************************************* * asinhf (MSVCR120.@) */ -float CDECL MSVCR120_asinhf(float x) +float CDECL asinhf(float x) { return unix_funcs->asinhf( x ); } @@ -3826,22 +3832,22 @@ float CDECL MSVCR120_asinhf(float x) */ LDOUBLE CDECL MSVCR120_asinhl(LDOUBLE x) { - return MSVCR120_asinh(x); + return asinh(x); } /********************************************************************* * acosh (MSVCR120.@) */ -double CDECL MSVCR120_acosh(double x) +double CDECL acosh(double x) { if (x < 1) { fenv_t env; *_errno() = EDOM; - MSVCRT_fegetenv(&env); + fegetenv(&env); env._Fe_stat |= FE_INVALID; - MSVCRT_fesetenv(&env); + fesetenv(&env); return NAN; } return unix_funcs->acosh( x ); @@ -3850,16 +3856,16 @@ double CDECL MSVCR120_acosh(double x) /********************************************************************* * acoshf (MSVCR120.@) */ -float CDECL MSVCR120_acoshf(float x) +float CDECL acoshf(float x) { if (x < 1) { fenv_t env; *_errno() = EDOM; - MSVCRT_fegetenv(&env); + fegetenv(&env); env._Fe_stat |= FE_INVALID; - MSVCRT_fesetenv(&env); + fesetenv(&env); return NAN; } return unix_funcs->acoshf( x ); @@ -3870,13 +3876,13 @@ float CDECL MSVCR120_acoshf(float x) */ LDOUBLE CDECL MSVCR120_acoshl(LDOUBLE x) { - return MSVCR120_acosh(x); + return acosh(x); } /********************************************************************* * atanh (MSVCR120.@) */ -double CDECL MSVCR120_atanh(double x) +double CDECL atanh(double x) { double ret; @@ -3886,9 +3892,9 @@ double CDECL MSVCR120_atanh(double x) *_errno() = EDOM; /* on Linux atanh returns -NAN in this case */ - MSVCRT_fegetenv(&env); + fegetenv(&env); env._Fe_stat |= FE_INVALID; - MSVCRT_fesetenv(&env); + fesetenv(&env); return NAN; } ret = unix_funcs->atanh( x ); @@ -3900,7 +3906,7 @@ double CDECL MSVCR120_atanh(double x) /********************************************************************* * atanhf (MSVCR120.@) */ -float CDECL MSVCR120_atanhf(float x) +float CDECL atanhf(float x) { float ret; @@ -3909,9 +3915,9 @@ float CDECL MSVCR120_atanhf(float x) *_errno() = EDOM; - MSVCRT_fegetenv(&env); + fegetenv(&env); env._Fe_stat |= FE_INVALID; - MSVCRT_fesetenv(&env); + fesetenv(&env); return NAN; } @@ -3926,7 +3932,7 @@ float CDECL MSVCR120_atanhf(float x) */ LDOUBLE CDECL MSVCR120_atanhl(LDOUBLE x) { - return MSVCR120_atanh(x); + return atanh(x); } #endif /* _MSVCR_VER>=120 */ @@ -3936,9 +3942,9 @@ LDOUBLE CDECL MSVCR120_atanhl(LDOUBLE x) * scalbn (MSVCR120.@) * scalbln (MSVCR120.@) */ -double CDECL MSVCRT__scalb(double num, __msvcrt_long power) +double CDECL _scalb(double num, __msvcrt_long power) { - return MSVCRT_ldexp(num, power); + return ldexp(num, power); } /********************************************************************* @@ -3946,9 +3952,9 @@ double CDECL MSVCRT__scalb(double num, __msvcrt_long power) * scalbnf (MSVCR120.@) * scalblnf (MSVCR120.@) */ -float CDECL MSVCRT__scalbf(float num, __msvcrt_long power) +float CDECL _scalbf(float num, __msvcrt_long power) { - return MSVCRT_ldexp(num, power); + return ldexp(num, power); } #if _MSVCR_VER>=120 @@ -3959,13 +3965,13 @@ float CDECL MSVCRT__scalbf(float num, __msvcrt_long power) */ LDOUBLE CDECL MSVCR120_scalbnl(LDOUBLE num, __msvcrt_long power) { - return MSVCRT__scalb(num, power); + return _scalb(num, power); } /********************************************************************* * remainder (MSVCR120.@) */ -double CDECL MSVCR120_remainder(double x, double y) +double CDECL remainder(double x, double y) { /* this matches 64-bit Windows. 32-bit Windows is slightly different */ if(!isfinite(x)) *_errno() = EDOM; @@ -3976,7 +3982,7 @@ double CDECL MSVCR120_remainder(double x, double y) /********************************************************************* * remainderf (MSVCR120.@) */ -float CDECL MSVCR120_remainderf(float x, float y) +float CDECL remainderf(float x, float y) { /* this matches 64-bit Windows. 32-bit Windows is slightly different */ if(!isfinite(x)) *_errno() = EDOM; @@ -3989,13 +3995,13 @@ float CDECL MSVCR120_remainderf(float x, float y) */ LDOUBLE CDECL MSVCR120_remainderl(LDOUBLE x, LDOUBLE y) { - return MSVCR120_remainder(x, y); + return remainder(x, y); } /********************************************************************* * remquo (MSVCR120.@) */ -double CDECL MSVCR120_remquo(double x, double y, int *quo) +double CDECL remquo(double x, double y, int *quo) { if(!isfinite(x)) *_errno() = EDOM; if(isnan(y) || y==0.0) *_errno() = EDOM; @@ -4005,7 +4011,7 @@ double CDECL MSVCR120_remquo(double x, double y, int *quo) /********************************************************************* * remquof (MSVCR120.@) */ -float CDECL MSVCR120_remquof(float x, float y, int *quo) +float CDECL remquof(float x, float y, int *quo) { if(!isfinite(x)) *_errno() = EDOM; if(isnan(y) || y==0.0f) *_errno() = EDOM; @@ -4017,13 +4023,13 @@ float CDECL MSVCR120_remquof(float x, float y, int *quo) */ LDOUBLE CDECL MSVCR120_remquol(LDOUBLE x, LDOUBLE y, int *quo) { - return MSVCR120_remquo(x, y, quo); + return remquo(x, y, quo); } /********************************************************************* * lgamma (MSVCR120.@) */ -double CDECL MSVCR120_lgamma(double x) +double CDECL lgamma(double x) { return unix_funcs->lgamma( x ); } @@ -4031,7 +4037,7 @@ double CDECL MSVCR120_lgamma(double x) /********************************************************************* * lgammaf (MSVCR120.@) */ -float CDECL MSVCR120_lgammaf(float x) +float CDECL lgammaf(float x) { return unix_funcs->lgammaf( x ); } @@ -4041,13 +4047,13 @@ float CDECL MSVCR120_lgammaf(float x) */ LDOUBLE CDECL MSVCR120_lgammal(LDOUBLE x) { - return MSVCR120_lgamma(x); + return lgamma(x); } /********************************************************************* * tgamma (MSVCR120.@) */ -double CDECL MSVCR120_tgamma(double x) +double CDECL tgamma(double x) { return unix_funcs->tgamma( x ); } @@ -4055,7 +4061,7 @@ double CDECL MSVCR120_tgamma(double x) /********************************************************************* * tgammaf (MSVCR120.@) */ -float CDECL MSVCR120_tgammaf(float x) +float CDECL tgammaf(float x) { return unix_funcs->tgammaf( x ); } @@ -4063,7 +4069,7 @@ float CDECL MSVCR120_tgammaf(float x) /********************************************************************* * nan (MSVCR120.@) */ -double CDECL MSVCR120_nan(const char *tagp) +double CDECL nan(const char *tagp) { /* Windows ignores input (MSDN) */ return NAN; @@ -4072,7 +4078,7 @@ double CDECL MSVCR120_nan(const char *tagp) /********************************************************************* * nanf (MSVCR120.@) */ -float CDECL MSVCR120_nanf(const char *tagp) +float CDECL nanf(const char *tagp) { return NAN; } @@ -4099,7 +4105,7 @@ double CDECL _except1(DWORD fpe, _FP_OPERATION_CODE op, double arg, double res, operation = op << 5; exception_arg = (ULONG_PTR)&operation; - MSVCRT_fegetenv(&env); + fegetenv(&env); if (fpe & 0x1) { /* overflow */ if ((fpe == 0x1 && (cw & 0x8)) || (fpe==0x11 && (cw & 0x28))) { @@ -4141,7 +4147,7 @@ double CDECL _except1(DWORD fpe, _FP_OPERATION_CODE op, double arg, double res, if (exception) env._Fe_stat = 0; - MSVCRT_fesetenv(&env); + fesetenv(&env); if (exception) RaiseException(exception, 0, 1, &exception_arg); @@ -4169,7 +4175,7 @@ double CDECL _except1(DWORD fpe, _FP_OPERATION_CODE op, double arg, double res, return res; } -_Dcomplex* CDECL MSVCR120__Cbuild(_Dcomplex *ret, double r, double i) +_Dcomplex* CDECL _Cbuild(_Dcomplex *ret, double r, double i) { ret->x = r; ret->y = i; @@ -4186,7 +4192,7 @@ double CDECL MSVCR120_creal(_Dcomplex z) * * Copied from musl: src/math/ilogb.c */ -int CDECL MSVCR120_ilogb(double x) +int CDECL ilogb(double x) { union { double f; UINT64 i; } u = { x }; int e = u.i >> 52 & 0x7ff; @@ -4208,7 +4214,7 @@ int CDECL MSVCR120_ilogb(double x) * * Copied from musl: src/math/ilogbf.c */ -int CDECL MSVCR120_ilogbf(float x) +int CDECL ilogbf(float x) { union { float f; UINT32 i; } u = { x }; int e = u.i >> 23 & 0xff; @@ -4230,7 +4236,7 @@ int CDECL MSVCR120_ilogbf(float x) */ int CDECL MSVCR120_ilogbl(LDOUBLE x) { - return MSVCR120_ilogb(x); + return ilogb(x); } #endif /* _MSVCR_VER>=120 */ diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h index 04bffb574b6..67b1318d8d2 100644 --- a/dlls/msvcrt/msvcrt.h +++ b/dlls/msvcrt/msvcrt.h @@ -673,10 +673,7 @@ int __cdecl MSVCRT__towlower_l(wint_t,_locale_t); int __cdecl MSVCRT_strcmp(const char*, const char*); char* __cdecl MSVCRT__itoa(int, char*, int); -double __cdecl MSVCRT_floor( double x ); float __cdecl MSVCRT_floorf( float x ); -double __cdecl MSVCRT_frexp( double x, int *exp ); -double __cdecl MSVCRT_log10( double x ); double __cdecl MSVCRT_sqrt( double x ); float __cdecl MSVCRT_sqrtf( float x ); diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index a98f9c0f124..2a96183d59a 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -223,27 +223,27 @@ @ extern __lc_collate_cp MSVCRT___lc_collate_cp @ extern __lc_handle MSVCRT___lc_handle @ cdecl __lconv_init() -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ extern __mb_cur_max MSVCRT___mb_cur_max @ cdecl -arch=i386 __p___argc() @ cdecl -arch=i386 __p___argv() @@ -280,7 +280,7 @@ @ cdecl __pxcptinfoptrs() @ cdecl __set_app_type(long) @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __strncnt(str long) @ cdecl __threadhandle() kernel32.GetCurrentThread @ cdecl __threadid() kernel32.GetCurrentThreadId @@ -341,7 +341,7 @@ @ cdecl _beginthread (ptr long ptr) @ cdecl _beginthreadex (ptr long ptr ptr long ptr) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) # stub _calloc_dbg(long long long str long) @ cdecl _cexit() @@ -351,8 +351,8 @@ # stub _cgetws_s(ptr long ptr) @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign -@ cdecl -arch=!i386 _chgsignf(float) MSVCRT__chgsignf +@ cdecl _chgsign(double) +@ cdecl -arch=!i386 _chgsignf(float) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -366,8 +366,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl -arch=!i386 _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl -arch=!i386 _copysignf(float float) @ varargs _cprintf(str) # stub _cprintf_l(str ptr) # stub _cprintf_p(str) @@ -407,8 +407,8 @@ @ extern _dstbias MSVCRT__dstbias @ cdecl _dup (long) MSVCRT__dup @ cdecl _dup2 (long long) MSVCRT__dup2 -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _endthread () @ cdecl _endthreadex(long) @ extern _environ MSVCRT__environ @@ -429,8 +429,8 @@ @ cdecl _expand(ptr long) # stub _expand_dbg(ptr long long str long) @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fgetchar() MSVCRT__fgetchar @ cdecl _fgetwchar() MSVCRT__fgetwchar @@ -450,13 +450,13 @@ @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 @ cdecl _findnexti64(long ptr) MSVCRT__findnexti64 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() # stub _fprintf_l(ptr str ptr) @@ -483,9 +483,9 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol -@ cdecl -arch=i386 -ret64 _ftol2() MSVCRT__ftol -@ cdecl -arch=i386 -ret64 _ftol2_sse() MSVCRT__ftol #FIXME: SSE variant should be implemented +@ cdecl -arch=i386 -ret64 _ftol() +@ cdecl -arch=i386 -ret64 _ftol2() _ftol +@ cdecl -arch=i386 -ret64 _ftol2_sse() _ftol #FIXME: SSE variant should be implemented # stub _ftol2_sse_excpt @ cdecl _fullpath(ptr str long) MSVCRT__fullpath # stub _fullpath_dbg(ptr str long long str long) @@ -499,8 +499,8 @@ # stub _fwprintf_s_l(ptr wstr ptr) @ varargs _fwscanf_l(ptr wstr ptr) @ varargs _fwscanf_s_l(ptr wstr ptr) -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) @ cdecl _get_current_locale() @ cdecl _get_doserrno(ptr) @ cdecl _get_environ(ptr) @@ -550,7 +550,7 @@ @ stub _heapused(ptr ptr) @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -630,8 +630,8 @@ # stub _ismbslead_l(long ptr) @ cdecl _ismbstrail(ptr ptr) # stub _ismbstrail_l(long ptr) -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _isspace_l(long ptr) @ cdecl _isupper_l(long ptr) @@ -652,9 +652,9 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) @@ -669,11 +669,11 @@ @ cdecl _lock(long) @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) # stub _lsearch_s(ptr ptr ptr long ptr ptr) @ cdecl _lseek(long long long) MSVCRT__lseek @@ -839,8 +839,8 @@ @ cdecl _msize(ptr) # stub -arch=win32 _msize_debug(ptr long) # stub -arch=win64 _msize_dbg(ptr long) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -879,8 +879,8 @@ @ cdecl -arch=i386 _safe_fdivr() @ cdecl -arch=i386 _safe_fprem() @ cdecl -arch=i386 _safe_fprem1() -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ varargs _scanf_l(str ptr) @ varargs _scanf_s_l(str ptr) @ varargs _scprintf(str) @@ -893,7 +893,7 @@ @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl _set_SSE2_enable(long) @ cdecl _set_controlfp(long long) @ cdecl _set_doserrno(long) @ cdecl _set_errno(long) @@ -1243,21 +1243,21 @@ @ cdecl -arch=win64 _wutime(wstr ptr) _wutime64 @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f +@ cdecl asin(double) +@ cdecl atan(double) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl -arch=!i386 atanf(float) +@ cdecl -arch=!i386 atan2f(float float) @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw @ cdecl atof(str) @ cdecl atoi(str) @@ -1266,25 +1266,25 @@ @ cdecl bsearch_s(ptr ptr long long ptr ptr) @ cdecl btowc(long) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clearerr_s(ptr) MSVCRT_clearerr_s @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf +@ cdecl cos(double) +@ cdecl cosh(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl -arch=!i386 coshf(float) @ cdecl -arch=win32 ctime(ptr) _ctime32 @ cdecl -arch=win64 ctime(ptr) _ctime64 @ cdecl -arch=win32 difftime(long long) _difftime32 @ cdecl -arch=win64 difftime(long long) _difftime64 -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl fabs(double) MSVCRT_fabs -@ cdecl -arch=!i386 fabsf(float) MSVCRT_fabsf +@ cdecl exp(double) +@ cdecl -arch=!i386 expf(float) +@ cdecl fabs(double) +@ cdecl -arch=!i386 fabsf(float) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -1294,12 +1294,12 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fma(double double double) MSVCRT_fma -@ cdecl -arch=!i386 fmaf(float float float) MSVCRT_fmaf -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fma(double double double) +@ cdecl -arch=!i386 fmaf(float float float) +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ varargs fprintf(ptr str) MSVCRT_fprintf @@ -1312,8 +1312,8 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp -@ cdecl -arch=x86_64 frexpf(float ptr) MSVCRT_frexpf +@ cdecl frexp(double ptr) +@ cdecl -arch=x86_64 frexpf(float ptr) @ varargs fscanf(ptr str) @ varargs fscanf_s(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @@ -1359,16 +1359,16 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() @ cdecl -arch=win32 localtime(ptr) _localtime32 @ cdecl -arch=win64 localtime(ptr) _localtime64 -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 logf(float) MSVCRT_logf -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f +@ cdecl log(double) +@ cdecl log10(double) +@ cdecl -arch=!i386 logf(float) +@ cdecl -arch=!i386 log10f(float) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -1389,11 +1389,11 @@ @ cdecl memset(ptr long long) @ cdecl -arch=win32 mktime(ptr) _mktime32 @ cdecl -arch=win64 mktime(ptr) _mktime64 -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ varargs printf(str) MSVCRT_printf @ varargs printf_s(str) MSVCRT_printf_s @ cdecl putc(long ptr) MSVCRT_putc @@ -1417,14 +1417,14 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf +@ cdecl sin(double) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl -arch=!i386 sinhf(float) @ varargs sprintf(ptr str) @ varargs sprintf_s(ptr long str) -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ varargs sscanf(str str) @ varargs sscanf_s(str str) @@ -1461,10 +1461,10 @@ @ varargs swscanf(wstr wstr) @ varargs swscanf_s(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf +@ cdecl tan(double) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl -arch=!i386 tanhf(float) @ cdecl -arch=win32 time(ptr) _time32 @ cdecl -arch=win64 time(ptr) _time64 @ cdecl tmpfile() MSVCRT_tmpfile diff --git a/dlls/msvcrt/printf.h b/dlls/msvcrt/printf.h index feb18819acc..ec06162fa6d 100644 --- a/dlls/msvcrt/printf.h +++ b/dlls/msvcrt/printf.h @@ -603,7 +603,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu if(flags->Precision == -1) flags->Precision = 6; - v = MSVCRT_frexp(v, &e2); + v = frexp(v, &e2); if(v) { m = (ULONGLONG)1 << (MANT_BITS - 1); m |= (*(ULONGLONG*)&v & (((ULONGLONG)1 << (MANT_BITS - 1)) - 1)); @@ -635,7 +635,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu if(!b->data[bnum_idx(b, b->e-1)]) first_limb_len = 1; else - first_limb_len = MSVCRT_floor(MSVCRT_log10(b->data[bnum_idx(b, b->e - 1)])) + 1; + first_limb_len = floor(log10(b->data[bnum_idx(b, b->e - 1)])) + 1; radix_pos = first_limb_len + LIMB_DIGITS + e10; round_pos = flags->Precision; @@ -700,7 +700,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu if(!b->data[bnum_idx(b, b->e-1)]) i = 1; else - i = MSVCRT_floor(MSVCRT_log10(b->data[bnum_idx(b, b->e-1)])) + 1; + i = floor(log10(b->data[bnum_idx(b, b->e-1)])) + 1; if(i != first_limb_len) { first_limb_len = i; radix_pos++; diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index 40d81aaa60d..edf6a5dd514 100644 --- a/dlls/msvcrt/string.c +++ b/dlls/msvcrt/string.c @@ -2419,7 +2419,7 @@ int CDECL I10_OUTPUT(MSVCRT__LDOUBLE ld80, int prec, int flag, struct _I10_OUTPU data->sign = ' '; if(flag&1) { - int exp = 1 + MSVCRT_floor(MSVCRT_log10(d)); + int exp = 1 + floor(log10(d)); prec += exp; if(exp < 0) diff --git a/dlls/msvcrtd/msvcrtd.spec b/dlls/msvcrtd/msvcrtd.spec index 3dbcc80f8da..1a348160a78 100644 --- a/dlls/msvcrtd/msvcrtd.spec +++ b/dlls/msvcrtd/msvcrtd.spec @@ -187,7 +187,7 @@ @ cdecl __pxcptinfoptrs() @ cdecl __set_app_type(long) @ extern __setlc_active MSVCRT___setlc_active -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __threadhandle() kernel32.GetCurrentThread @ cdecl __threadid() kernel32.GetCurrentThreadId @ cdecl __toascii(long) @@ -224,14 +224,14 @@ @ cdecl _beginthread(ptr long ptr) @ cdecl _beginthreadex(ptr long ptr ptr long ptr) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_dbg(long long) calloc @ cdecl _cexit() @ cdecl _cgets(ptr) @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign +@ cdecl _chgsign(double) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -241,7 +241,7 @@ @ extern _commode MSVCRT__commode @ cdecl _control87(long long) @ cdecl _controlfp(long long) -@ cdecl _copysign(double double) MSVCRT__copysign +@ cdecl _copysign(double double) @ varargs _cprintf(str) @ cdecl _cputs(str) @ cdecl _creat(str long) MSVCRT__creat @@ -255,7 +255,7 @@ @ extern _dstbias MSVCRT__dstbias @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt +@ cdecl _ecvt(double long ptr ptr) @ cdecl _endthread() @ cdecl _endthreadex(long) @ extern _environ MSVCRT__environ @@ -275,7 +275,7 @@ @ cdecl _expand(ptr long) @ cdecl _expand_dbg(ptr long) _expand @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt +@ cdecl _fcvt(double long ptr ptr) @ cdecl _fdopen(long str) MSVCRT__fdopen @ cdecl _fgetchar() MSVCRT__fgetchar @ cdecl _fgetwchar() MSVCRT__fgetwchar @@ -289,11 +289,11 @@ @ cdecl _findfirsti64(str ptr) MSVCRT__findfirsti64 @ cdecl _findnext(long ptr) MSVCRT__findnext @ cdecl _findnexti64(long ptr) MSVCRT__findnexti64 -@ cdecl _finite(double) MSVCRT__finite +@ cdecl _finite(double) @ cdecl _flsbuf(long ptr) MSVCRT__flsbuf @ cdecl _flushall() MSVCRT__flushall @ extern _fmode MSVCRT__fmode -@ cdecl _fpclass(double) MSVCRT__fpclass +@ cdecl _fpclass(double) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ cdecl _fputchar(long) MSVCRT__fputchar @@ -304,11 +304,11 @@ @ cdecl _fstati64(long ptr) MSVCRT__fstati64 @ cdecl -arch=win32 _ftime(ptr) _ftime32 @ cdecl -arch=win64 _ftime(ptr) _ftime64 -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl -arch=win32 _futime(long ptr) _futime32 @ cdecl -arch=win64 _futime(long ptr) _futime64 -@ cdecl _gcvt(double long str) MSVCRT__gcvt +@ cdecl _gcvt(double long str) @ cdecl _get_osfhandle(long) MSVCRT__get_osfhandle @ cdecl _get_sbh_threshold() @ cdecl _getch() @@ -371,12 +371,12 @@ @ cdecl _ismbcupper(long) @ cdecl _ismbslead(ptr ptr) @ cdecl _ismbstrail(ptr ptr) -@ cdecl _isnan(double) MSVCRT__isnan +@ cdecl _isnan(double) @ cdecl _itoa(long ptr long) @ cdecl _itow(long ptr long) ntdll._itow -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _loaddll(str) @@ -384,10 +384,10 @@ @ cdecl -arch=i386 _local_unwind2(ptr long) @ cdecl _lock(long) @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb +@ cdecl _logb(double) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ cdecl _lseek(long long long) MSVCRT__lseek @ cdecl -ret64 _lseeki64(long int64 long) MSVCRT__lseeki64 @@ -456,7 +456,7 @@ @ cdecl _mktemp(str) MSVCRT__mktemp @ cdecl _msize(ptr) @ cdecl _msize_dbg(ptr) _msize -@ cdecl _nextafter(double double) MSVCRT__nextafter +@ cdecl _nextafter(double double) @ cdecl _onexit(ptr) @ varargs _open(str long) MSVCRT__open @ cdecl _open_osfhandle(long long) MSVCRT__open_osfhandle @@ -485,7 +485,7 @@ @ cdecl -arch=i386 _safe_fdivr() @ cdecl -arch=i386 _safe_fprem() @ cdecl -arch=i386 _safe_fprem1() -@ cdecl _scalb(double long) MSVCRT__scalb +@ cdecl _scalb(double long) @ cdecl _searchenv(str str ptr) MSVCRT__searchenv @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) @@ -633,35 +633,35 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl -arch=win32 _wutime(wstr ptr) _wutime32 @ cdecl -arch=win64 _wutime(wstr ptr) _wutime64 -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos +@ cdecl abs(long) +@ cdecl acos(double) @ cdecl asctime(ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 +@ cdecl asin(double) +@ cdecl atan(double) +@ cdecl atan2(double double) @ cdecl -private atexit(ptr) MSVCRT_atexit @ cdecl atof(str) @ cdecl atoi(str) @ cdecl atol(str) @ cdecl bsearch(ptr ptr long long ptr) @ cdecl calloc(long long) -@ cdecl ceil(double) MSVCRT_ceil +@ cdecl ceil(double) @ cdecl clearerr(ptr) MSVCRT_clearerr @ cdecl clock() -@ cdecl cos(double) MSVCRT_cos -@ cdecl cosh(double) MSVCRT_cosh +@ cdecl cos(double) +@ cdecl cosh(double) @ cdecl -arch=win32 ctime(ptr) _ctime32 @ cdecl -arch=win64 ctime(ptr) _ctime64 @ cdecl -arch=win32 difftime(long long) _difftime32 @ cdecl -arch=win64 difftime(long long) _difftime64 -@ cdecl -ret64 div(long long) MSVCRT_div +@ cdecl -ret64 div(long long) @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl fabs(double) MSVCRT_fabs +@ cdecl exp(double) +@ cdecl fabs(double) @ cdecl fclose(ptr) MSVCRT_fclose @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror @@ -671,8 +671,8 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl fmod(double double) MSVCRT_fmod +@ cdecl floor(double) +@ cdecl fmod(double double) @ cdecl fopen(str str) MSVCRT_fopen @ varargs fprintf(ptr str) MSVCRT_fprintf @ cdecl fputc(long ptr) MSVCRT_fputc @@ -682,7 +682,7 @@ @ cdecl fread(ptr long long ptr) MSVCRT_fread @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ varargs fscanf(ptr str) @ cdecl fseek(ptr long long) MSVCRT_fseek @ cdecl fsetpos(ptr ptr) MSVCRT_fsetpos @@ -724,14 +724,14 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) @ cdecl localeconv() @ cdecl -arch=win32 localtime(ptr) _localtime32 @ cdecl -arch=win64 localtime(ptr) _localtime64 -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 +@ cdecl log(double) +@ cdecl log10(double) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -744,9 +744,9 @@ @ cdecl memset(ptr long long) @ cdecl -arch=win32 mktime(ptr) _mktime32 @ cdecl -arch=win64 mktime(ptr) _mktime64 -@ cdecl modf(double ptr) MSVCRT_modf +@ cdecl modf(double ptr) @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow +@ cdecl pow(double double) @ varargs printf(str) MSVCRT_printf @ cdecl putc(long ptr) MSVCRT_putc @ cdecl putchar(long) MSVCRT_putchar @@ -765,10 +765,10 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl sinh(double) MSVCRT_sinh +@ cdecl sin(double) +@ cdecl sinh(double) @ varargs sprintf(ptr str) -@ cdecl sqrt(double) MSVCRT_sqrt +@ cdecl sqrt(double) @ cdecl srand(long) @ varargs sscanf(str str) @ cdecl strcat(str str) @@ -795,8 +795,8 @@ @ varargs swprintf(ptr wstr) _swprintf @ varargs swscanf(wstr wstr) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl tanh(double) MSVCRT_tanh +@ cdecl tan(double) +@ cdecl tanh(double) @ cdecl -arch=win32 time(ptr) _time32 @ cdecl -arch=win64 time(ptr) _time64 @ cdecl tmpfile() MSVCRT_tmpfile diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec index c927b7a2a46..49f7862c8f9 100644 --- a/dlls/ucrtbase/ucrtbase.spec +++ b/dlls/ucrtbase/ucrtbase.spec @@ -14,7 +14,7 @@ @ cdecl -arch=i386 _CIsqrt() @ cdecl -arch=i386 _CItan() @ cdecl -arch=i386 _CItanh() -@ cdecl _Cbuild(ptr double double) MSVCR120__Cbuild +@ cdecl _Cbuild(ptr double double) @ stub _Cmulcc @ stub _Cmulcr @ cdecl _CreateFrameInfo(ptr ptr) @@ -100,27 +100,27 @@ @ cdecl __iscsymf(long) @ stub __iswcsym @ stub __iswcsymf -@ cdecl -arch=i386 -norelay __libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay __libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay __libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay __libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay __libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay __libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay __libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay __libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay __libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay __libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay __libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay __libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay __libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay __libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay __libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay __libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay __libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay __libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay __libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay __libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay __libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay __libm_sse2_acos() +@ cdecl -arch=i386 -norelay __libm_sse2_acosf() +@ cdecl -arch=i386 -norelay __libm_sse2_asin() +@ cdecl -arch=i386 -norelay __libm_sse2_asinf() +@ cdecl -arch=i386 -norelay __libm_sse2_atan() +@ cdecl -arch=i386 -norelay __libm_sse2_atan2() +@ cdecl -arch=i386 -norelay __libm_sse2_atanf() +@ cdecl -arch=i386 -norelay __libm_sse2_cos() +@ cdecl -arch=i386 -norelay __libm_sse2_cosf() +@ cdecl -arch=i386 -norelay __libm_sse2_exp() +@ cdecl -arch=i386 -norelay __libm_sse2_expf() +@ cdecl -arch=i386 -norelay __libm_sse2_log() +@ cdecl -arch=i386 -norelay __libm_sse2_log10() +@ cdecl -arch=i386 -norelay __libm_sse2_log10f() +@ cdecl -arch=i386 -norelay __libm_sse2_logf() +@ cdecl -arch=i386 -norelay __libm_sse2_pow() +@ cdecl -arch=i386 -norelay __libm_sse2_powf() +@ cdecl -arch=i386 -norelay __libm_sse2_sin() +@ cdecl -arch=i386 -norelay __libm_sse2_sinf() +@ cdecl -arch=i386 -norelay __libm_sse2_tan() +@ cdecl -arch=i386 -norelay __libm_sse2_tanf() @ cdecl __p___argc() @ cdecl __p___argv() @ cdecl __p___wargv() @@ -139,7 +139,7 @@ @ stub __pwctype_func @ cdecl __pxcptinfoptrs() @ stub __report_gsfailure -@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr +@ cdecl __setusermatherr(ptr) @ cdecl __std_exception_copy(ptr ptr) @ cdecl __std_exception_destroy(ptr) @ cdecl __std_type_info_compare(ptr ptr) @@ -209,7 +209,7 @@ @ cdecl _byteswap_ulong(long) @ cdecl _byteswap_ushort(long) @ cdecl _c_exit() -@ cdecl _cabs(long) MSVCRT__cabs +@ cdecl _cabs(long) @ cdecl _callnewh(long) @ cdecl _calloc_base(long long) @ cdecl _cexit() @@ -219,8 +219,8 @@ @ stub _cgetws_s @ cdecl _chdir(str) MSVCRT__chdir @ cdecl _chdrive(long) MSVCRT__chdrive -@ cdecl _chgsign(double) MSVCRT__chgsign -@ cdecl _chgsignf(float) MSVCRT__chgsignf +@ cdecl _chgsign(double) +@ cdecl _chgsignf(float) @ cdecl -arch=i386 -norelay _chkesp() @ cdecl _chmod(str long) MSVCRT__chmod @ cdecl _chsize(long long) MSVCRT__chsize @@ -234,8 +234,8 @@ @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) -@ cdecl _copysign(double double) MSVCRT__copysign -@ cdecl _copysignf(float float) MSVCRT__copysignf +@ cdecl _copysign(double double) +@ cdecl _copysignf(float float) @ cdecl _cputs(str) @ cdecl _cputws(wstr) @ cdecl _creat(str long) MSVCRT__creat @@ -249,24 +249,24 @@ @ cdecl _ctime64_s(str long ptr) @ cdecl _cwait(ptr long long) @ stub _d_int -@ cdecl _dclass(double) MSVCR120__dclass +@ cdecl _dclass(double) @ stub _dexp @ cdecl _difftime32(long long) @ cdecl _difftime64(int64 int64) @ stub _dlog @ stub _dnorm -@ cdecl _dpcomp(double double) MSVCR120__dpcomp +@ cdecl _dpcomp(double double) @ stub _dpoly @ stub _dscale -@ cdecl _dsign(double) MSVCR120__dsign +@ cdecl _dsign(double) @ stub _dsin -@ cdecl _dtest(ptr) MSVCR120__dtest +@ cdecl _dtest(ptr) @ stub _dunscale @ cdecl _dup(long) MSVCRT__dup @ cdecl _dup2(long long) MSVCRT__dup2 @ cdecl _dupenv_s(ptr ptr str) -@ cdecl _ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _ecvt(double long ptr ptr) +@ cdecl _ecvt_s(str long double long ptr ptr) @ cdecl _endthread() @ cdecl _endthreadex(long) @ cdecl _eof(long) MSVCRT__eof @@ -288,20 +288,20 @@ @ cdecl _expand(ptr long) @ cdecl _fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _fcloseall() MSVCRT__fcloseall -@ cdecl _fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _fcvt(double long ptr ptr) +@ cdecl _fcvt_s(ptr long double long ptr ptr) @ stub _fd_int -@ cdecl _fdclass(float) MSVCR120__fdclass +@ cdecl _fdclass(float) @ stub _fdexp @ stub _fdlog @ stub _fdnorm @ cdecl _fdopen(long str) MSVCRT__fdopen -@ cdecl _fdpcomp(float float) MSVCR120__fdpcomp +@ cdecl _fdpcomp(float float) @ stub _fdpoly @ stub _fdscale -@ cdecl _fdsign(float) MSVCR120__fdsign +@ cdecl _fdsign(float) @ stub _fdsin -@ cdecl _fdtest(ptr) MSVCR120__fdtest +@ cdecl _fdtest(ptr) @ stub _fdunscale @ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock @@ -320,11 +320,11 @@ @ stub _findnext32i64 @ cdecl _findnext64(long ptr) MSVCRT__findnext64 @ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32 -@ cdecl _finite(double) MSVCRT__finite -@ cdecl -arch=!i386 _finitef(float) MSVCRT__finitef +@ cdecl _finite(double) +@ cdecl -arch=!i386 _finitef(float) @ cdecl _flushall() MSVCRT__flushall -@ cdecl _fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _fpclassf(float) MSVCRT__fpclassf +@ cdecl _fpclass(double) +@ cdecl -arch=!i386 _fpclassf(float) @ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr) @ cdecl _fpreset() @ cdecl _fputc_nolock(long ptr) MSVCRT__fputc_nolock @@ -350,14 +350,14 @@ @ cdecl _ftime32_s(ptr) @ cdecl _ftime64(ptr) @ cdecl _ftime64_s(ptr) -@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol +@ cdecl -arch=i386 -ret64 _ftol() @ cdecl _fullpath(ptr str long) MSVCRT__fullpath @ cdecl _futime32(long ptr) @ cdecl _futime64(long ptr) @ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock -@ cdecl _gcvt(double long str) MSVCRT__gcvt -@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s -@ cdecl -arch=win64 _get_FMA3_enable() MSVCRT__get_FMA3_enable +@ cdecl _gcvt(double long str) +@ cdecl _gcvt_s(ptr long double long) +@ cdecl -arch=win64 _get_FMA3_enable() @ cdecl _get_current_locale() @ cdecl _get_daylight(ptr) @ cdecl _get_doserrno(ptr) @@ -413,7 +413,7 @@ @ cdecl _heapmin() @ cdecl _heapwalk(ptr) @ cdecl _hypot(double double) -@ cdecl _hypotf(float float) MSVCRT__hypotf +@ cdecl _hypotf(float float) @ cdecl _i64toa(int64 ptr long) ntdll._i64toa @ cdecl _i64toa_s(int64 ptr long long) @ cdecl _i64tow(int64 ptr long) ntdll._i64tow @@ -500,8 +500,8 @@ @ stub _ismbslead_l @ cdecl _ismbstrail(ptr ptr) @ stub _ismbstrail_l -@ cdecl _isnan(double) MSVCRT__isnan -@ cdecl -arch=x86_64 _isnanf(float) MSVCRT__isnanf +@ cdecl _isnan(double) +@ cdecl -arch=x86_64 _isnanf(float) @ cdecl _isprint_l(long ptr) @ cdecl _ispunct_l(long ptr) @ cdecl _isspace_l(long ptr) @@ -526,34 +526,34 @@ @ cdecl _itoa_s(long ptr long long) @ cdecl _itow(long ptr long) ntdll._itow @ cdecl _itow_s(long ptr long long) -@ cdecl _j0(double) MSVCRT__j0 -@ cdecl _j1(double) MSVCRT__j1 -@ cdecl _jn(long double) MSVCRT__jn +@ cdecl _j0(double) +@ cdecl _j1(double) +@ cdecl _jn(long double) @ cdecl _kbhit() @ stub _ld_int -@ cdecl _ldclass(double) MSVCR120__ldclass +@ cdecl _ldclass(double) @ stub _ldexp @ stub _ldlog -@ cdecl _ldpcomp(double double) MSVCR120__dpcomp +@ cdecl _ldpcomp(double double) _dpcomp @ stub _ldpoly @ stub _ldscale -@ cdecl _ldsign(double) MSVCR120__dsign +@ cdecl _ldsign(double) _dsign @ stub _ldsin -@ cdecl _ldtest(ptr) MSVCR120__ldtest +@ cdecl _ldtest(ptr) @ stub _ldunscale @ cdecl _lfind(ptr ptr ptr long ptr) @ cdecl _lfind_s(ptr ptr ptr long ptr ptr) -@ cdecl -arch=i386 -norelay _libm_sse2_acos_precise() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay _libm_sse2_asin_precise() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay _libm_sse2_atan_precise() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay _libm_sse2_cos_precise() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay _libm_sse2_exp_precise() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay _libm_sse2_log10_precise() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay _libm_sse2_log_precise() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay _libm_sse2_pow_precise() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay _libm_sse2_sin_precise() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay _libm_sse2_sqrt_precise() MSVCRT___libm_sse2_sqrt_precise -@ cdecl -arch=i386 -norelay _libm_sse2_tan_precise() MSVCRT___libm_sse2_tan +@ cdecl -arch=i386 -norelay _libm_sse2_acos_precise() __libm_sse2_acos +@ cdecl -arch=i386 -norelay _libm_sse2_asin_precise() __libm_sse2_asin +@ cdecl -arch=i386 -norelay _libm_sse2_atan_precise() __libm_sse2_atan +@ cdecl -arch=i386 -norelay _libm_sse2_cos_precise() __libm_sse2_cos +@ cdecl -arch=i386 -norelay _libm_sse2_exp_precise() __libm_sse2_exp +@ cdecl -arch=i386 -norelay _libm_sse2_log10_precise() __libm_sse2_log10 +@ cdecl -arch=i386 -norelay _libm_sse2_log_precise() __libm_sse2_log +@ cdecl -arch=i386 -norelay _libm_sse2_pow_precise() __libm_sse2_pow +@ cdecl -arch=i386 -norelay _libm_sse2_sin_precise() __libm_sse2_sin +@ cdecl -arch=i386 -norelay _libm_sse2_sqrt_precise() __libm_sse2_sqrt_precise +@ cdecl -arch=i386 -norelay _libm_sse2_tan_precise() __libm_sse2_tan @ cdecl _loaddll(str) @ cdecl -arch=x86_64,arm64 _local_unwind(ptr ptr) @ cdecl -arch=i386 _local_unwind2(ptr long) @@ -565,11 +565,11 @@ @ cdecl _lock_file(ptr) MSVCRT__lock_file @ cdecl _lock_locales() @ cdecl _locking(long long long) MSVCRT__locking -@ cdecl _logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _logbf(float) MSVCRT__logbf +@ cdecl _logb(double) +@ cdecl -arch=!i386 _logbf(float) @ cdecl -arch=i386 _longjmpex(ptr long) MSVCRT_longjmp -@ cdecl _lrotl(long long) MSVCRT__lrotl -@ cdecl _lrotr(long long) MSVCRT__lrotr +@ cdecl _lrotl(long long) +@ cdecl _lrotr(long long) @ cdecl _lsearch(ptr ptr ptr long ptr) @ stub _lsearch_s @ cdecl _lseek(long long long) MSVCRT__lseek @@ -728,8 +728,8 @@ @ cdecl _mktime32(ptr) @ cdecl _mktime64(ptr) @ cdecl _msize(ptr) -@ cdecl _nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _nextafterf(float float) MSVCRT__nextafterf +@ cdecl _nextafter(double double) +@ cdecl -arch=x86_64 _nextafterf(float float) @ cdecl -arch=i386 _o__CIacos() _CIacos @ cdecl -arch=i386 _o__CIasin() _CIasin @ cdecl -arch=i386 _o__CIatan() _CIatan @@ -770,27 +770,27 @@ @ cdecl _o___daylight() __p__daylight @ cdecl _o___dstbias() __p__dstbias @ cdecl _o___fpe_flt_rounds() __fpe_flt_rounds -@ cdecl -arch=i386 -norelay _o___libm_sse2_acos() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay _o___libm_sse2_acosf() MSVCRT___libm_sse2_acosf -@ cdecl -arch=i386 -norelay _o___libm_sse2_asin() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay _o___libm_sse2_asinf() MSVCRT___libm_sse2_asinf -@ cdecl -arch=i386 -norelay _o___libm_sse2_atan() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay _o___libm_sse2_atan2() MSVCRT___libm_sse2_atan2 -@ cdecl -arch=i386 -norelay _o___libm_sse2_atanf() MSVCRT___libm_sse2_atanf -@ cdecl -arch=i386 -norelay _o___libm_sse2_cos() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay _o___libm_sse2_cosf() MSVCRT___libm_sse2_cosf -@ cdecl -arch=i386 -norelay _o___libm_sse2_exp() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay _o___libm_sse2_expf() MSVCRT___libm_sse2_expf -@ cdecl -arch=i386 -norelay _o___libm_sse2_log() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay _o___libm_sse2_log10() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay _o___libm_sse2_log10f() MSVCRT___libm_sse2_log10f -@ cdecl -arch=i386 -norelay _o___libm_sse2_logf() MSVCRT___libm_sse2_logf -@ cdecl -arch=i386 -norelay _o___libm_sse2_pow() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay _o___libm_sse2_powf() MSVCRT___libm_sse2_powf -@ cdecl -arch=i386 -norelay _o___libm_sse2_sin() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay _o___libm_sse2_sinf() MSVCRT___libm_sse2_sinf -@ cdecl -arch=i386 -norelay _o___libm_sse2_tan() MSVCRT___libm_sse2_tan -@ cdecl -arch=i386 -norelay _o___libm_sse2_tanf() MSVCRT___libm_sse2_tanf +@ cdecl -arch=i386 -norelay _o___libm_sse2_acos() __libm_sse2_acos +@ cdecl -arch=i386 -norelay _o___libm_sse2_acosf() __libm_sse2_acosf +@ cdecl -arch=i386 -norelay _o___libm_sse2_asin() __libm_sse2_asin +@ cdecl -arch=i386 -norelay _o___libm_sse2_asinf() __libm_sse2_asinf +@ cdecl -arch=i386 -norelay _o___libm_sse2_atan() __libm_sse2_atan +@ cdecl -arch=i386 -norelay _o___libm_sse2_atan2() __libm_sse2_atan2 +@ cdecl -arch=i386 -norelay _o___libm_sse2_atanf() __libm_sse2_atanf +@ cdecl -arch=i386 -norelay _o___libm_sse2_cos() __libm_sse2_cos +@ cdecl -arch=i386 -norelay _o___libm_sse2_cosf() __libm_sse2_cosf +@ cdecl -arch=i386 -norelay _o___libm_sse2_exp() __libm_sse2_exp +@ cdecl -arch=i386 -norelay _o___libm_sse2_expf() __libm_sse2_expf +@ cdecl -arch=i386 -norelay _o___libm_sse2_log() __libm_sse2_log +@ cdecl -arch=i386 -norelay _o___libm_sse2_log10() __libm_sse2_log10 +@ cdecl -arch=i386 -norelay _o___libm_sse2_log10f() __libm_sse2_log10f +@ cdecl -arch=i386 -norelay _o___libm_sse2_logf() __libm_sse2_logf +@ cdecl -arch=i386 -norelay _o___libm_sse2_pow() __libm_sse2_pow +@ cdecl -arch=i386 -norelay _o___libm_sse2_powf() __libm_sse2_powf +@ cdecl -arch=i386 -norelay _o___libm_sse2_sin() __libm_sse2_sin +@ cdecl -arch=i386 -norelay _o___libm_sse2_sinf() __libm_sse2_sinf +@ cdecl -arch=i386 -norelay _o___libm_sse2_tan() __libm_sse2_tan +@ cdecl -arch=i386 -norelay _o___libm_sse2_tanf() __libm_sse2_tanf @ cdecl _o___p___argc() __p___argc @ cdecl _o___p___argv() __p___argv @ cdecl _o___p___wargv() __p___wargv @@ -856,7 +856,7 @@ @ cdecl _o__beep(long long) _beep @ cdecl _o__beginthread(ptr long ptr) _beginthread @ cdecl _o__beginthreadex(ptr long ptr ptr long ptr) _beginthreadex -@ cdecl _o__cabs(long) MSVCRT__cabs +@ cdecl _o__cabs(long) _cabs @ cdecl _o__callnewh(long) _callnewh @ cdecl _o__calloc_base(long long) _calloc_base @ cdecl _o__cexit() _cexit @@ -884,23 +884,23 @@ @ cdecl _o__ctime64_s(str long ptr) _ctime64_s @ cdecl _o__cwait(ptr long long) _cwait @ stub _o__d_int -@ cdecl _o__dclass(double) MSVCR120__dclass +@ cdecl _o__dclass(double) _dclass @ cdecl _o__difftime32(long long) _difftime32 @ cdecl _o__difftime64(int64 int64) _difftime64 @ stub _o__dlog @ stub _o__dnorm -@ cdecl _o__dpcomp(double double) MSVCR120__dpcomp +@ cdecl _o__dpcomp(double double) _dpcomp @ stub _o__dpoly @ stub _o__dscale -@ cdecl _o__dsign(double) MSVCR120__dsign +@ cdecl _o__dsign(double) _dsign @ stub _o__dsin -@ cdecl _o__dtest(ptr) MSVCR120__dtest +@ cdecl _o__dtest(ptr) _dtest @ stub _o__dunscale @ cdecl _o__dup(long) MSVCRT__dup @ cdecl _o__dup2(long long) MSVCRT__dup2 @ cdecl _o__dupenv_s(ptr ptr str) _dupenv_s -@ cdecl _o__ecvt(double long ptr ptr) MSVCRT__ecvt -@ cdecl _o__ecvt_s(str long double long ptr ptr) MSVCRT__ecvt_s +@ cdecl _o__ecvt(double long ptr ptr) _ecvt +@ cdecl _o__ecvt_s(str long double long ptr ptr) _ecvt_s @ cdecl _o__endthread() _endthread @ cdecl _o__endthreadex(long) _endthreadex @ cdecl _o__eof(long) MSVCRT__eof @@ -915,17 +915,17 @@ @ cdecl _o__expand(ptr long) _expand @ cdecl _o__fclose_nolock(ptr) MSVCRT__fclose_nolock @ cdecl _o__fcloseall() MSVCRT__fcloseall -@ cdecl _o__fcvt(double long ptr ptr) MSVCRT__fcvt -@ cdecl _o__fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s +@ cdecl _o__fcvt(double long ptr ptr) _fcvt +@ cdecl _o__fcvt_s(ptr long double long ptr ptr) _fcvt_s @ stub _o__fd_int -@ cdecl _o__fdclass(float) MSVCR120__fdclass +@ cdecl _o__fdclass(float) _fdclass @ stub _o__fdexp @ stub _o__fdlog @ cdecl _o__fdopen(long str) MSVCRT__fdopen -@ cdecl _o__fdpcomp(float float) MSVCR120__fdpcomp +@ cdecl _o__fdpcomp(float float) _fdpcomp @ stub _o__fdpoly @ stub _o__fdscale -@ cdecl _o__fdsign(float) MSVCR120__fdsign +@ cdecl _o__fdsign(float) _fdsign @ stub _o__fdsin @ cdecl _o__fflush_nolock(ptr) MSVCRT__fflush_nolock @ cdecl _o__fgetc_nolock(ptr) MSVCRT__fgetc_nolock @@ -945,8 +945,8 @@ @ cdecl _o__findnext64(long ptr) MSVCRT__findnext64 @ cdecl _o__findnext64i32(long ptr) MSVCRT__findnext64i32 @ cdecl _o__flushall() MSVCRT__flushall -@ cdecl _o__fpclass(double) MSVCRT__fpclass -@ cdecl -arch=!i386 _o__fpclassf(float) MSVCRT__fpclassf +@ cdecl _o__fpclass(double) _fpclass +@ cdecl -arch=!i386 _o__fpclassf(float) _fpclassf @ cdecl _o__fputc_nolock(long ptr) MSVCRT__fputc_nolock @ cdecl _o__fputchar(long) MSVCRT__fputchar @ cdecl _o__fputwc_nolock(long ptr) MSVCRT__fputwc_nolock @@ -974,8 +974,8 @@ @ cdecl _o__futime32(long ptr) _futime32 @ cdecl _o__futime64(long ptr) _futime64 @ cdecl _o__fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock -@ cdecl _o__gcvt(double long str) MSVCRT__gcvt -@ cdecl _o__gcvt_s(ptr long double long) MSVCRT__gcvt_s +@ cdecl _o__gcvt(double long str) _gcvt +@ cdecl _o__gcvt_s(ptr long double long) _gcvt_s @ cdecl _o__get_daylight(ptr) _get_daylight @ cdecl _o__get_doserrno(ptr) _get_doserrno @ cdecl _o__get_dstbias(ptr) _get_dstbias @@ -1023,7 +1023,7 @@ @ cdecl _o__heapchk() _heapchk @ cdecl _o__heapmin() _heapmin @ cdecl _o__hypot(double double) _hypot -@ cdecl _o__hypotf(float float) MSVCRT__hypotf +@ cdecl _o__hypotf(float float) _hypotf @ cdecl _o__i64toa(int64 ptr long) ntdll._i64toa @ cdecl _o__i64toa_s(int64 ptr long long) _i64toa_s @ cdecl _o__i64tow(int64 ptr long) ntdll._i64tow @@ -1104,34 +1104,34 @@ @ cdecl _o__itoa_s(long ptr long long) _itoa_s @ cdecl _o__itow(long ptr long) ntdll._itow @ cdecl _o__itow_s(long ptr long long) _itow_s -@ cdecl _o__j0(double) MSVCRT__j0 -@ cdecl _o__j1(double) MSVCRT__j1 -@ cdecl _o__jn(long double) MSVCRT__jn +@ cdecl _o__j0(double) _j0 +@ cdecl _o__j1(double) _j1 +@ cdecl _o__jn(long double) _jn @ cdecl _o__kbhit() _kbhit @ stub _o__ld_int -@ cdecl _o__ldclass(double) MSVCR120__ldclass +@ cdecl _o__ldclass(double) _ldclass @ stub _o__ldexp @ stub _o__ldlog -@ cdecl _o__ldpcomp(double double) MSVCR120__dpcomp +@ cdecl _o__ldpcomp(double double) _dpcomp @ stub _o__ldpoly @ stub _o__ldscale -@ cdecl _o__ldsign(double) MSVCR120__dsign +@ cdecl _o__ldsign(double) _dsign @ stub _o__ldsin -@ cdecl _o__ldtest(ptr) MSVCR120__ldtest +@ cdecl _o__ldtest(ptr) _ldtest @ stub _o__ldunscale @ cdecl _o__lfind(ptr ptr ptr long ptr) _lfind @ cdecl _o__lfind_s(ptr ptr ptr long ptr ptr) _lfind_s -@ cdecl -arch=i386 -norelay _o__libm_sse2_acos_precise() MSVCRT___libm_sse2_acos -@ cdecl -arch=i386 -norelay _o__libm_sse2_asin_precise() MSVCRT___libm_sse2_asin -@ cdecl -arch=i386 -norelay _o__libm_sse2_atan_precise() MSVCRT___libm_sse2_atan -@ cdecl -arch=i386 -norelay _o__libm_sse2_cos_precise() MSVCRT___libm_sse2_cos -@ cdecl -arch=i386 -norelay _o__libm_sse2_exp_precise() MSVCRT___libm_sse2_exp -@ cdecl -arch=i386 -norelay _o__libm_sse2_log10_precise() MSVCRT___libm_sse2_log10 -@ cdecl -arch=i386 -norelay _o__libm_sse2_log_precise() MSVCRT___libm_sse2_log -@ cdecl -arch=i386 -norelay _o__libm_sse2_pow_precise() MSVCRT___libm_sse2_pow -@ cdecl -arch=i386 -norelay _o__libm_sse2_sin_precise() MSVCRT___libm_sse2_sin -@ cdecl -arch=i386 -norelay _o__libm_sse2_sqrt_precise() MSVCRT___libm_sse2_sqrt_precise -@ cdecl -arch=i386 -norelay _o__libm_sse2_tan_precise() MSVCRT___libm_sse2_tan +@ cdecl -arch=i386 -norelay _o__libm_sse2_acos_precise() __libm_sse2_acos +@ cdecl -arch=i386 -norelay _o__libm_sse2_asin_precise() __libm_sse2_asin +@ cdecl -arch=i386 -norelay _o__libm_sse2_atan_precise() __libm_sse2_atan +@ cdecl -arch=i386 -norelay _o__libm_sse2_cos_precise() __libm_sse2_cos +@ cdecl -arch=i386 -norelay _o__libm_sse2_exp_precise() __libm_sse2_exp +@ cdecl -arch=i386 -norelay _o__libm_sse2_log10_precise() __libm_sse2_log10 +@ cdecl -arch=i386 -norelay _o__libm_sse2_log_precise() __libm_sse2_log +@ cdecl -arch=i386 -norelay _o__libm_sse2_pow_precise() __libm_sse2_pow +@ cdecl -arch=i386 -norelay _o__libm_sse2_sin_precise() __libm_sse2_sin +@ cdecl -arch=i386 -norelay _o__libm_sse2_sqrt_precise() __libm_sse2_sqrt_precise +@ cdecl -arch=i386 -norelay _o__libm_sse2_tan_precise() __libm_sse2_tan @ cdecl _o__loaddll(str) _loaddll @ cdecl _o__localtime32(ptr) _localtime32 @ cdecl _o__localtime32_s(ptr ptr) _localtime32_s @@ -1139,8 +1139,8 @@ @ cdecl _o__localtime64_s(ptr ptr) _localtime64_s @ cdecl _o__lock_file(ptr) MSVCRT__lock_file @ cdecl _o__locking(long long long) MSVCRT__locking -@ cdecl _o__logb(double) MSVCRT__logb -@ cdecl -arch=!i386 _o__logbf(float) MSVCRT__logbf +@ cdecl _o__logb(double) _logb +@ cdecl -arch=!i386 _o__logbf(float) _logbf @ cdecl _o__lsearch(ptr ptr ptr long ptr) _lsearch @ stub _o__lsearch_s @ cdecl _o__lseek(long long long) MSVCRT__lseek @@ -1296,8 +1296,8 @@ @ cdecl _o__mktime32(ptr) _mktime32 @ cdecl _o__mktime64(ptr) _mktime64 @ cdecl _o__msize(ptr) _msize -@ cdecl _o__nextafter(double double) MSVCRT__nextafter -@ cdecl -arch=x86_64 _o__nextafterf(float float) MSVCRT__nextafterf +@ cdecl _o__nextafter(double double) _nextafter +@ cdecl -arch=x86_64 _o__nextafterf(float float) _nextafterf @ cdecl _o__open_osfhandle(long long) MSVCRT__open_osfhandle @ cdecl _o__pclose(ptr) _pclose @ cdecl _o__pipe(ptr long long) MSVCRT__pipe @@ -1320,8 +1320,8 @@ @ cdecl _o__resetstkoflw() _resetstkoflw @ cdecl _o__rmdir(str) MSVCRT__rmdir @ cdecl _o__rmtmp() MSVCRT__rmtmp -@ cdecl _o__scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _o__scalbf(float long) MSVCRT__scalbf +@ cdecl _o__scalb(double long) _scalb +@ cdecl -arch=x86_64 _o__scalbf(float long) _scalbf @ cdecl _o__searchenv(str str ptr) MSVCRT__searchenv @ cdecl _o__searchenv_s(str str ptr long) MSVCRT__searchenv_s @ cdecl _o__seh_filter_dll(long ptr) __CppXcptFilter @@ -1553,28 +1553,28 @@ @ cdecl _o__wunlink(wstr) MSVCRT__wunlink @ cdecl _o__wutime32(wstr ptr) _wutime32 @ cdecl _o__wutime64(wstr ptr) _wutime64 -@ cdecl _o__y0(double) MSVCRT__y0 -@ cdecl _o__y1(double) MSVCRT__y1 -@ cdecl _o__yn(long double) MSVCRT__yn +@ cdecl _o__y0(double) _y0 +@ cdecl _o__y1(double) _y1 +@ cdecl _o__yn(long double) _yn @ cdecl _o_abort() abort -@ cdecl _o_acos(double) MSVCRT_acos -@ cdecl -arch=!i386 _o_acosf(float) MSVCRT_acosf -@ cdecl _o_acosh(double) MSVCR120_acosh -@ cdecl _o_acoshf(float) MSVCR120_acoshf +@ cdecl _o_acos(double) acos +@ cdecl -arch=!i386 _o_acosf(float) acosf +@ cdecl _o_acosh(double) acosh +@ cdecl _o_acoshf(float) acoshf @ cdecl _o_acoshl(double) MSVCR120_acoshl @ cdecl _o_asctime(ptr) asctime @ cdecl _o_asctime_s(ptr long ptr) asctime_s -@ cdecl _o_asin(double) MSVCRT_asin -@ cdecl -arch=!i386 _o_asinf(float) MSVCRT_asinf -@ cdecl _o_asinh(double) MSVCR120_asinh -@ cdecl _o_asinhf(float) MSVCR120_asinhf +@ cdecl _o_asin(double) asin +@ cdecl -arch=!i386 _o_asinf(float) asinf +@ cdecl _o_asinh(double) asinh +@ cdecl _o_asinhf(float) asinhf @ cdecl _o_asinhl(double) MSVCR120_asinhl -@ cdecl _o_atan(double) MSVCRT_atan -@ cdecl _o_atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 _o_atan2f(float float) MSVCRT_atan2f -@ cdecl -arch=!i386 _o_atanf(float) MSVCRT_atanf -@ cdecl _o_atanh(double) MSVCR120_atanh -@ cdecl _o_atanhf(float) MSVCR120_atanhf +@ cdecl _o_atan(double) atan +@ cdecl _o_atan2(double double) atan2 +@ cdecl -arch=!i386 _o_atan2f(float float) atan2f +@ cdecl -arch=!i386 _o_atanf(float) atanf +@ cdecl _o_atanh(double) atanh +@ cdecl _o_atanhf(float) atanhf @ cdecl _o_atanhl(double) MSVCR120_atanhl @ cdecl _o_atof(str) atof @ cdecl _o_atoi(str) atoi @@ -1584,29 +1584,29 @@ @ cdecl _o_bsearch_s(ptr ptr long long ptr ptr) bsearch_s @ cdecl _o_btowc(long) btowc @ cdecl _o_calloc(long long) calloc -@ cdecl _o_cbrt(double) MSVCR120_cbrt -@ cdecl _o_cbrtf(float) MSVCR120_cbrtf -@ cdecl _o_ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 _o_ceilf(float) MSVCRT_ceilf +@ cdecl _o_cbrt(double) cbrt +@ cdecl _o_cbrtf(float) cbrtf +@ cdecl _o_ceil(double) ceil +@ cdecl -arch=!i386 _o_ceilf(float) ceilf @ cdecl _o_clearerr(ptr) MSVCRT_clearerr @ cdecl _o_clearerr_s(ptr) MSVCRT_clearerr_s -@ cdecl _o_cos(double) MSVCRT_cos -@ cdecl -arch=!i386 _o_cosf(float) MSVCRT_cosf -@ cdecl _o_cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 _o_coshf(float) MSVCRT_coshf -@ cdecl _o_erf(double) MSVCR120_erf -@ cdecl _o_erfc(double) MSVCR120_erfc -@ cdecl _o_erfcf(float) MSVCR120_erfcf +@ cdecl _o_cos(double) cos +@ cdecl -arch=!i386 _o_cosf(float) cosf +@ cdecl _o_cosh(double) cosh +@ cdecl -arch=!i386 _o_coshf(float) coshf +@ cdecl _o_erf(double) erf +@ cdecl _o_erfc(double) erfc +@ cdecl _o_erfcf(float) erfcf @ cdecl _o_erfcl(double) MSVCR120_erfcl -@ cdecl _o_erff(float) MSVCR120_erff +@ cdecl _o_erff(float) erff @ cdecl _o_erfl(double) MSVCR120_erfl @ cdecl _o_exit(long) exit -@ cdecl _o_exp(double) MSVCRT_exp -@ cdecl _o_exp2(double) MSVCR120_exp2 -@ cdecl _o_exp2f(float) MSVCR120_exp2f +@ cdecl _o_exp(double) exp +@ cdecl _o_exp2(double) exp2 +@ cdecl _o_exp2f(float) exp2f @ cdecl _o_exp2l(double) MSVCR120_exp2l -@ cdecl -arch=!i386 _o_expf(float) MSVCRT_expf -@ cdecl _o_fabs(double) MSVCRT_fabs +@ cdecl -arch=!i386 _o_expf(float) expf +@ cdecl _o_fabs(double) fabs @ cdecl _o_fclose(ptr) MSVCRT_fclose @ cdecl _o_feof(ptr) MSVCRT_feof @ cdecl _o_ferror(ptr) MSVCRT_ferror @@ -1616,13 +1616,13 @@ @ cdecl _o_fgets(ptr long ptr) MSVCRT_fgets @ cdecl _o_fgetwc(ptr) MSVCRT_fgetwc @ cdecl _o_fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl _o_floor(double) MSVCRT_floor -@ cdecl -arch=!i386 _o_floorf(float) MSVCRT_floorf -@ cdecl _o_fma(double double double) MSVCRT_fma -@ cdecl _o_fmaf(float float float) MSVCRT_fmaf -@ cdecl _o_fmal(double double double) MSVCRT_fma -@ cdecl _o_fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 _o_fmodf(float float) MSVCRT_fmodf +@ cdecl _o_floor(double) floor +@ cdecl -arch=!i386 _o_floorf(float) floorf +@ cdecl _o_fma(double double double) fma +@ cdecl _o_fmaf(float float float) fmaf +@ cdecl _o_fmal(double double double) fma +@ cdecl _o_fmod(double double) fmod +@ cdecl -arch=!i386 _o_fmodf(float float) fmodf @ cdecl _o_fopen(str str) MSVCRT_fopen @ cdecl _o_fopen_s(ptr str str) MSVCRT_fopen_s @ cdecl _o_fputc(long ptr) MSVCRT_fputc @@ -1634,7 +1634,7 @@ @ cdecl _o_free(ptr) free @ cdecl _o_freopen(str str ptr) MSVCRT_freopen @ cdecl _o_freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl _o_frexp(double ptr) MSVCRT_frexp +@ cdecl _o_frexp(double ptr) frexp @ cdecl _o_fseek(ptr long long) MSVCRT_fseek @ cdecl _o_fsetpos(ptr ptr) MSVCRT_fsetpos @ cdecl _o_ftell(ptr) MSVCRT_ftell @@ -1676,35 +1676,35 @@ @ cdecl _o_iswupper(long) iswupper @ cdecl _o_iswxdigit(long) iswxdigit @ cdecl _o_isxdigit(long) isxdigit -@ cdecl _o_ldexp(double long) MSVCRT_ldexp -@ cdecl _o_lgamma(double) MSVCR120_lgamma -@ cdecl _o_lgammaf(float) MSVCR120_lgammaf +@ cdecl _o_ldexp(double long) ldexp +@ cdecl _o_lgamma(double) lgamma +@ cdecl _o_lgammaf(float) lgammaf @ cdecl _o_lgammal(double) MSVCR120_lgammal -@ cdecl -ret64 _o_llrint(double) MSVCR120_llrint -@ cdecl -ret64 _o_llrintf(float) MSVCR120_llrintf +@ cdecl -ret64 _o_llrint(double) llrint +@ cdecl -ret64 _o_llrintf(float) llrintf @ cdecl -ret64 _o_llrintl(double) MSVCR120_llrintl -@ cdecl -ret64 _o_llround(double) MSVCR120_llround -@ cdecl -ret64 _o_llroundf(float) MSVCR120_llroundf +@ cdecl -ret64 _o_llround(double) llround +@ cdecl -ret64 _o_llroundf(float) llroundf @ cdecl -ret64 _o_llroundl(double) MSVCR120_llroundl @ cdecl _o_localeconv() localeconv -@ cdecl _o_log(double) MSVCRT_log -@ cdecl _o_log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 _o_log10f(float) MSVCRT_log10f -@ cdecl _o_log1p(double) MSVCR120_log1p -@ cdecl _o_log1pf(float) MSVCR120_log1pf +@ cdecl _o_log(double) log +@ cdecl _o_log10(double) log10 +@ cdecl -arch=!i386 _o_log10f(float) log10f +@ cdecl _o_log1p(double) log1p +@ cdecl _o_log1pf(float) log1pf @ cdecl _o_log1pl(double) MSVCR120_log1pl -@ cdecl _o_log2(double) MSVCR120_log2 -@ cdecl _o_log2f(float) MSVCR120_log2f +@ cdecl _o_log2(double) log2 +@ cdecl _o_log2f(float) log2f @ cdecl _o_log2l(double) MSVCR120_log2l -@ cdecl _o_logb(double) MSVCRT__logb -@ cdecl _o_logbf(float) MSVCRT__logbf -@ cdecl _o_logbl(double) MSVCRT__logb -@ cdecl -arch=!i386 _o_logf(float) MSVCRT_logf -@ cdecl _o_lrint(double) MSVCR120_lrint -@ cdecl _o_lrintf(float) MSVCR120_lrintf +@ cdecl _o_logb(double) _logb +@ cdecl _o_logbf(float) _logbf +@ cdecl _o_logbl(double) _logb +@ cdecl -arch=!i386 _o_logf(float) logf +@ cdecl _o_lrint(double) lrint +@ cdecl _o_lrintf(float) lrintf @ cdecl _o_lrintl(double) MSVCR120_lrintl -@ cdecl _o_lround(double) MSVCR120_lround -@ cdecl _o_lroundf(float) MSVCR120_lroundf +@ cdecl _o_lround(double) lround +@ cdecl _o_lroundf(float) lroundf @ cdecl _o_lroundl(double) MSVCR120_lroundl @ cdecl _o_malloc(long) malloc @ cdecl _o_mblen(ptr long) mblen @@ -1719,22 +1719,22 @@ @ cdecl _o_mbtowc(ptr str long) mbtowc @ cdecl _o_memcpy_s(ptr long ptr long) memcpy_s @ cdecl _o_memset(ptr long long) memset -@ cdecl _o_modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 _o_modff(float ptr) MSVCRT_modff -@ cdecl _o_nan(str) MSVCR120_nan -@ cdecl _o_nanf(str) MSVCR120_nanf -@ cdecl _o_nanl(str) MSVCR120_nan -@ cdecl _o_nearbyint(double) MSVCRT_nearbyint -@ cdecl _o_nearbyintf(float) MSVCRT_nearbyintf -@ cdecl _o_nearbyintl(double) MSVCRT_nearbyint -@ cdecl _o_nextafter(double double) MSVCRT__nextafter -@ cdecl _o_nextafterf(float float) MSVCRT__nextafterf -@ cdecl _o_nextafterl(double double) MSVCRT__nextafter +@ cdecl _o_modf(double ptr) modf +@ cdecl -arch=!i386 _o_modff(float ptr) modff +@ cdecl _o_nan(str) nan +@ cdecl _o_nanf(str) nanf +@ cdecl _o_nanl(str) nan +@ cdecl _o_nearbyint(double) nearbyint +@ cdecl _o_nearbyintf(float) nearbyintf +@ cdecl _o_nearbyintl(double) nearbyint +@ cdecl _o_nextafter(double double) _nextafter +@ cdecl _o_nextafterf(float float) _nextafterf +@ cdecl _o_nextafterl(double double) _nextafter @ cdecl _o_nexttoward(double double) MSVCRT_nexttoward @ cdecl _o_nexttowardf(float double) MSVCRT_nexttowardf @ cdecl _o_nexttowardl(double double) MSVCRT_nexttoward -@ cdecl _o_pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 _o_powf(float float) MSVCRT_powf +@ cdecl _o_pow(double double) pow +@ cdecl -arch=!i386 _o_powf(float float) powf @ cdecl _o_putc(long ptr) MSVCRT_putc @ cdecl _o_putchar(long) MSVCRT_putchar @ cdecl _o_puts(str) MSVCRT_puts @@ -1746,37 +1746,37 @@ @ cdecl _o_rand() rand @ cdecl _o_rand_s(ptr) rand_s @ cdecl _o_realloc(ptr long) realloc -@ cdecl _o_remainder(double double) MSVCR120_remainder -@ cdecl _o_remainderf(float float) MSVCR120_remainderf +@ cdecl _o_remainder(double double) remainder +@ cdecl _o_remainderf(float float) remainderf @ cdecl _o_remainderl(double double) MSVCR120_remainderl @ cdecl _o_remove(str) MSVCRT_remove -@ cdecl _o_remquo(double double ptr) MSVCR120_remquo -@ cdecl _o_remquof(float float ptr) MSVCR120_remquof +@ cdecl _o_remquo(double double ptr) remquo +@ cdecl _o_remquof(float float ptr) remquof @ cdecl _o_remquol(double double ptr) MSVCR120_remquol @ cdecl _o_rename(str str) MSVCRT_rename @ cdecl _o_rewind(ptr) MSVCRT_rewind -@ cdecl _o_rint(double) MSVCR120_rint -@ cdecl _o_rintf(float) MSVCR120_rintf +@ cdecl _o_rint(double) rint +@ cdecl _o_rintf(float) rintf @ cdecl _o_rintl(double) MSVCR120_rintl -@ cdecl _o_round(double) MSVCR120_round -@ cdecl _o_roundf(float) MSVCR120_roundf +@ cdecl _o_round(double) round +@ cdecl _o_roundf(float) roundf @ cdecl _o_roundl(double) MSVCR120_roundl -@ cdecl _o_scalbln(double long) MSVCRT__scalb -@ cdecl _o_scalblnf(float long) MSVCRT__scalbf +@ cdecl _o_scalbln(double long) _scalb +@ cdecl _o_scalblnf(float long) _scalbf @ cdecl _o_scalblnl(double long) MSVCR120_scalbnl -@ cdecl _o_scalbn(double long) MSVCRT__scalb -@ cdecl _o_scalbnf(float long) MSVCRT__scalbf +@ cdecl _o_scalbn(double long) _scalb +@ cdecl _o_scalbnf(float long) _scalbf @ cdecl _o_scalbnl(double long) MSVCR120_scalbnl @ cdecl _o_set_terminate(ptr) set_terminate @ cdecl _o_setbuf(ptr ptr) MSVCRT_setbuf @ cdecl _o_setlocale(long str) setlocale @ cdecl _o_setvbuf(ptr str long long) MSVCRT_setvbuf -@ cdecl _o_sin(double) MSVCRT_sin -@ cdecl -arch=!i386 _o_sinf(float) MSVCRT_sinf -@ cdecl _o_sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 _o_sinhf(float) MSVCRT_sinhf -@ cdecl _o_sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 _o_sqrtf(float) MSVCRT_sqrtf +@ cdecl _o_sin(double) sin +@ cdecl -arch=!i386 _o_sinf(float) sinf +@ cdecl _o_sinh(double) sinh +@ cdecl -arch=!i386 _o_sinhf(float) sinhf +@ cdecl _o_sqrt(double) sqrt +@ cdecl -arch=!i386 _o_sqrtf(float) sqrtf @ cdecl _o_srand(long) srand @ cdecl _o_strcat_s(str long str) strcat_s @ cdecl _o_strcoll(str str) strcoll @@ -1796,14 +1796,14 @@ @ cdecl _o_strtoul(str ptr long) strtoul @ cdecl -ret64 _o_strtoull(str ptr long) _strtoui64 @ cdecl _o_system(str) system -@ cdecl _o_tan(double) MSVCRT_tan -@ cdecl -arch=!i386 _o_tanf(float) MSVCRT_tanf -@ cdecl _o_tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 _o_tanhf(float) MSVCRT_tanhf +@ cdecl _o_tan(double) tan +@ cdecl -arch=!i386 _o_tanf(float) tanf +@ cdecl _o_tanh(double) tanh +@ cdecl -arch=!i386 _o_tanhf(float) tanhf @ cdecl _o_terminate() terminate -@ cdecl _o_tgamma(double) MSVCR120_tgamma -@ cdecl _o_tgammaf(float) MSVCR120_tgammaf -@ cdecl _o_tgammal(double) MSVCR120_tgamma +@ cdecl _o_tgamma(double) tgamma +@ cdecl _o_tgammaf(float) tgammaf +@ cdecl _o_tgammal(double) tgamma @ cdecl _o_tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl _o_tmpnam_s(ptr long) MSVCRT_tmpnam_s @ cdecl _o_tolower(long) tolower @@ -1870,16 +1870,16 @@ @ cdecl -ret64 _rotl64(int64 long) @ cdecl _rotr(long long) @ cdecl -ret64 _rotr64(int64 long) -@ cdecl _scalb(double long) MSVCRT__scalb -@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf +@ cdecl _scalb(double long) +@ cdecl -arch=x86_64 _scalbf(float long) @ cdecl _searchenv(str str ptr) MSVCRT__searchenv @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s @ cdecl -arch=i386,x86_64,arm,arm64 _seh_filter_dll(long ptr) __CppXcptFilter @ cdecl _seh_filter_exe(long ptr) _XcptFilter -@ cdecl -arch=win64 _set_FMA3_enable(long) MSVCRT__set_FMA3_enable +@ cdecl -arch=win64 _set_FMA3_enable(long) @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) -@ cdecl -arch=i386 _set_SSE2_enable(long) MSVCRT__set_SSE2_enable +@ cdecl -arch=i386 _set_SSE2_enable(long) @ cdecl _set_abort_behavior(long long) @ cdecl _set_app_type(long) __set_app_type @ cdecl _set_controlfp(long long) @@ -2146,29 +2146,29 @@ @ cdecl _wunlink(wstr) MSVCRT__wunlink @ cdecl _wutime32(wstr ptr) @ cdecl _wutime64(wstr ptr) -@ cdecl _y0(double) MSVCRT__y0 -@ cdecl _y1(double) MSVCRT__y1 -@ cdecl _yn(long double) MSVCRT__yn +@ cdecl _y0(double) +@ cdecl _y1(double) +@ cdecl _yn(long double) @ cdecl abort() -@ cdecl abs(long) MSVCRT_abs -@ cdecl acos(double) MSVCRT_acos -@ cdecl -arch=!i386 acosf(float) MSVCRT_acosf -@ cdecl acosh(double) MSVCR120_acosh -@ cdecl acoshf(float) MSVCR120_acoshf +@ cdecl abs(long) +@ cdecl acos(double) +@ cdecl -arch=!i386 acosf(float) +@ cdecl acosh(double) +@ cdecl acoshf(float) @ cdecl acoshl(double) MSVCR120_acoshl @ cdecl asctime(ptr) @ cdecl asctime_s(ptr long ptr) -@ cdecl asin(double) MSVCRT_asin -@ cdecl -arch=!i386 asinf(float) MSVCRT_asinf -@ cdecl asinh(double) MSVCR120_asinh -@ cdecl asinhf(float) MSVCR120_asinhf +@ cdecl asin(double) +@ cdecl -arch=!i386 asinf(float) +@ cdecl asinh(double) +@ cdecl asinhf(float) @ cdecl asinhl(double) MSVCR120_asinhl -@ cdecl atan(double) MSVCRT_atan -@ cdecl atan2(double double) MSVCRT_atan2 -@ cdecl -arch=!i386 atan2f(float float) MSVCRT_atan2f -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf -@ cdecl atanh(double) MSVCR120_atanh -@ cdecl atanhf(float) MSVCR120_atanhf +@ cdecl atan(double) +@ cdecl atan2(double double) +@ cdecl -arch=!i386 atan2f(float float) +@ cdecl -arch=!i386 atanf(float) +@ cdecl atanh(double) +@ cdecl atanhf(float) @ cdecl atanhl(double) MSVCR120_atanhl @ cdecl atof(str) @ cdecl atoi(str) @@ -2204,8 +2204,8 @@ @ stub catanhf @ stub catanhl @ stub catanl -@ cdecl cbrt(double) MSVCR120_cbrt -@ cdecl cbrtf(float) MSVCR120_cbrtf +@ cdecl cbrt(double) +@ cdecl cbrtf(float) @ cdecl cbrtl(double) MSVCR120_cbrtl @ stub ccos @ stub ccosf @@ -2213,8 +2213,8 @@ @ stub ccoshf @ stub ccoshl @ stub ccosl -@ cdecl ceil(double) MSVCRT_ceil -@ cdecl -arch=!i386 ceilf(float) MSVCRT_ceilf +@ cdecl ceil(double) +@ cdecl -arch=!i386 ceilf(float) @ stub cexp @ stub cexpf @ stub cexpl @@ -2233,13 +2233,13 @@ @ stub conj @ stub conjf @ stub conjl -@ cdecl copysign(double double) MSVCRT__copysign -@ cdecl copysignf(float float) MSVCRT__copysignf -@ cdecl copysignl(double double) MSVCRT__copysign -@ cdecl cos(double) MSVCRT_cos -@ cdecl -arch=!i386 cosf(float) MSVCRT_cosf -@ cdecl cosh(double) MSVCRT_cosh -@ cdecl -arch=!i386 coshf(float) MSVCRT_coshf +@ cdecl copysign(double double) _copysign +@ cdecl copysignf(float float) _copysignf +@ cdecl copysignl(double double) _copysign +@ cdecl cos(double) +@ cdecl -arch=!i386 cosf(float) +@ cdecl cosh(double) +@ cdecl -arch=!i386 coshf(float) @ stub cpow @ stub cpowf @ stub cpowl @@ -2264,38 +2264,38 @@ @ stub ctanhf @ stub ctanhl @ stub ctanl -@ cdecl -ret64 div(long long) MSVCRT_div -@ cdecl erf(double) MSVCR120_erf -@ cdecl erfc(double) MSVCR120_erfc -@ cdecl erfcf(float) MSVCR120_erfcf +@ cdecl -ret64 div(long long) +@ cdecl erf(double) +@ cdecl erfc(double) +@ cdecl erfcf(float) @ cdecl erfcl(double) MSVCR120_erfcl -@ cdecl erff(float) MSVCR120_erff +@ cdecl erff(float) @ cdecl erfl(double) MSVCR120_erfl @ cdecl exit(long) -@ cdecl exp(double) MSVCRT_exp -@ cdecl exp2(double) MSVCR120_exp2 -@ cdecl exp2f(float) MSVCR120_exp2f +@ cdecl exp(double) +@ cdecl exp2(double) +@ cdecl exp2f(float) @ cdecl exp2l(double) MSVCR120_exp2l -@ cdecl -arch=!i386 expf(float) MSVCRT_expf -@ cdecl expm1(double) MSVCR120_expm1 -@ cdecl expm1f(float) MSVCR120_expm1f +@ cdecl -arch=!i386 expf(float) +@ cdecl expm1(double) +@ cdecl expm1f(float) @ cdecl expm1l(double) MSVCR120_expm1l -@ cdecl fabs(double) MSVCRT_fabs -@ cdecl -arch=arm,arm64 fabsf(float) MSVCRT_fabsf +@ cdecl fabs(double) +@ cdecl -arch=arm,arm64 fabsf(float) @ cdecl fclose(ptr) MSVCRT_fclose -@ cdecl fdim(double double) MSVCR120_fdim -@ cdecl fdimf(float float) MSVCR120_fdimf -@ cdecl fdiml(double double) MSVCR120_fdim +@ cdecl fdim(double double) +@ cdecl fdimf(float float) +@ cdecl fdiml(double double) fdim @ stub feclearexcept -@ cdecl fegetenv(ptr) MSVCRT_fegetenv +@ cdecl fegetenv(ptr) @ stub fegetexceptflag -@ cdecl fegetround() MSVCRT_fegetround +@ cdecl fegetround() @ stub feholdexcept @ cdecl feof(ptr) MSVCRT_feof @ cdecl ferror(ptr) MSVCRT_ferror -@ cdecl fesetenv(ptr) MSVCRT_fesetenv +@ cdecl fesetenv(ptr) @ stub fesetexceptflag -@ cdecl fesetround(long) MSVCRT_fesetround +@ cdecl fesetround(long) @ stub fetestexcept @ cdecl fflush(ptr) MSVCRT_fflush @ cdecl fgetc(ptr) MSVCRT_fgetc @@ -2303,19 +2303,19 @@ @ cdecl fgets(ptr long ptr) MSVCRT_fgets @ cdecl fgetwc(ptr) MSVCRT_fgetwc @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws -@ cdecl floor(double) MSVCRT_floor -@ cdecl -arch=!i386 floorf(float) MSVCRT_floorf -@ cdecl fma(double double double) MSVCRT_fma -@ cdecl fmaf(float float float) MSVCRT_fmaf -@ cdecl fmal(double double double) MSVCRT_fma -@ cdecl fmax(double double) MSVCR120_fmax -@ cdecl fmaxf(float float) MSVCR120_fmaxf -@ cdecl fmaxl(double double) MSVCR120_fmax -@ cdecl fmin(double double) MSVCR120_fmin -@ cdecl fminf(float float) MSVCR120_fminf -@ cdecl fminl(double double) MSVCR120_fmin -@ cdecl fmod(double double) MSVCRT_fmod -@ cdecl -arch=!i386 fmodf(float float) MSVCRT_fmodf +@ cdecl floor(double) +@ cdecl -arch=!i386 floorf(float) +@ cdecl fma(double double double) +@ cdecl fmaf(float float float) +@ cdecl fmal(double double double) fma +@ cdecl fmax(double double) +@ cdecl fmaxf(float float) +@ cdecl fmaxl(double double) fmax +@ cdecl fmin(double double) +@ cdecl fminf(float float) +@ cdecl fminl(double double) fmin +@ cdecl fmod(double double) +@ cdecl -arch=!i386 fmodf(float float) @ cdecl fopen(str str) MSVCRT_fopen @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s @ cdecl fputc(long ptr) MSVCRT_fputc @@ -2327,7 +2327,7 @@ @ cdecl free(ptr) @ cdecl freopen(str str ptr) MSVCRT_freopen @ cdecl freopen_s(ptr str str ptr) MSVCRT_freopen_s -@ cdecl frexp(double ptr) MSVCRT_frexp +@ cdecl frexp(double ptr) @ cdecl fseek(ptr long long) MSVCRT_fseek @ cdecl fsetpos(ptr ptr) MSVCRT_fsetpos @ cdecl ftell(ptr) MSVCRT_ftell @@ -2341,10 +2341,10 @@ @ cdecl getwc(ptr) MSVCRT_getwc @ cdecl getwchar() MSVCRT_getwchar @ cdecl hypot(double double) _hypot -@ cdecl ilogb(double) MSVCR120_ilogb -@ cdecl ilogbf(float) MSVCR120_ilogbf +@ cdecl ilogb(double) +@ cdecl ilogbf(float) @ cdecl ilogbl(double) MSVCR120_ilogbl -@ cdecl -ret64 imaxabs(int64) MSVCRT_imaxabs +@ cdecl -ret64 imaxabs(int64) @ stub imaxdiv @ cdecl is_wctype(long long) iswctype @ cdecl isalnum(long) @@ -2374,40 +2374,40 @@ @ cdecl iswupper(long) @ cdecl iswxdigit(long) @ cdecl isxdigit(long) -@ cdecl labs(long) MSVCRT_labs -@ cdecl ldexp(double long) MSVCRT_ldexp -@ cdecl -ret64 ldiv(long long) MSVCRT_ldiv -@ cdecl lgamma(double) MSVCR120_lgamma -@ cdecl lgammaf(float) MSVCR120_lgammaf +@ cdecl labs(long) +@ cdecl ldexp(double long) +@ cdecl -ret64 ldiv(long long) +@ cdecl lgamma(double) +@ cdecl lgammaf(float) @ cdecl lgammal(double) MSVCR120_lgammal -@ cdecl -ret64 llabs(int64) MSVCRT_llabs -@ cdecl lldiv(int64 int64) MSVCRT_lldiv -@ cdecl -ret64 llrint(double) MSVCR120_llrint -@ cdecl -ret64 llrintf(float) MSVCR120_llrintf +@ cdecl -ret64 llabs(int64) +@ cdecl lldiv(int64 int64) +@ cdecl -ret64 llrint(double) +@ cdecl -ret64 llrintf(float) @ cdecl -ret64 llrintl(double) MSVCR120_llrintl -@ cdecl -ret64 llround(double) MSVCR120_llround -@ cdecl -ret64 llroundf(float) MSVCR120_llroundf +@ cdecl -ret64 llround(double) +@ cdecl -ret64 llroundf(float) @ cdecl -ret64 llroundl(double) MSVCR120_llroundl @ cdecl localeconv() -@ cdecl log(double) MSVCRT_log -@ cdecl log10(double) MSVCRT_log10 -@ cdecl -arch=!i386 log10f(float) MSVCRT_log10f -@ cdecl log1p(double) MSVCR120_log1p -@ cdecl log1pf(float) MSVCR120_log1pf +@ cdecl log(double) +@ cdecl log10(double) +@ cdecl -arch=!i386 log10f(float) +@ cdecl log1p(double) +@ cdecl log1pf(float) @ cdecl log1pl(double) MSVCR120_log1pl -@ cdecl log2(double) MSVCR120_log2 -@ cdecl log2f(float) MSVCR120_log2f +@ cdecl log2(double) +@ cdecl log2f(float) @ cdecl log2l(double) MSVCR120_log2l -@ cdecl logb(double) MSVCRT__logb -@ cdecl logbf(float) MSVCRT__logbf -@ cdecl logbl(double) MSVCRT__logb -@ cdecl -arch=!i386 logf(float) MSVCRT_logf +@ cdecl logb(double) _logb +@ cdecl logbf(float) _logbf +@ cdecl logbl(double) _logb +@ cdecl -arch=!i386 logf(float) @ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp -@ cdecl lrint(double) MSVCR120_lrint -@ cdecl lrintf(float) MSVCR120_lrintf +@ cdecl lrint(double) +@ cdecl lrintf(float) @ cdecl lrintl(double) MSVCR120_lrintl -@ cdecl lround(double) MSVCR120_lround -@ cdecl lroundf(float) MSVCR120_lroundf +@ cdecl lround(double) +@ cdecl lroundf(float) @ cdecl lroundl(double) MSVCR120_lroundl @ cdecl malloc(long) @ cdecl mblen(ptr long) @@ -2427,17 +2427,17 @@ @ cdecl memmove(ptr ptr long) @ cdecl memmove_s(ptr long ptr long) memmove_s @ cdecl memset(ptr long long) -@ cdecl modf(double ptr) MSVCRT_modf -@ cdecl -arch=!i386 modff(float ptr) MSVCRT_modff -@ cdecl nan(str) MSVCR120_nan -@ cdecl nanf(str) MSVCR120_nanf -@ cdecl nanl(str) MSVCR120_nan -@ cdecl nearbyint(double) MSVCRT_nearbyint -@ cdecl nearbyintf(float) MSVCRT_nearbyintf -@ cdecl nearbyintl(double) MSVCRT_nearbyint -@ cdecl nextafter(double double) MSVCRT__nextafter -@ cdecl nextafterf(float float) MSVCRT__nextafterf -@ cdecl nextafterl(double double) MSVCRT__nextafter +@ cdecl modf(double ptr) +@ cdecl -arch=!i386 modff(float ptr) +@ cdecl nan(str) +@ cdecl nanf(str) +@ cdecl nanl(str) nan +@ cdecl nearbyint(double) +@ cdecl nearbyintf(float) +@ cdecl nearbyintl(double) nearbyint +@ cdecl nextafter(double double) _nextafter +@ cdecl nextafterf(float float) _nextafterf +@ cdecl nextafterl(double double) _nextafter @ cdecl nexttoward(double double) MSVCRT_nexttoward @ cdecl nexttowardf(float double) MSVCRT_nexttowardf @ cdecl nexttowardl(double double) MSVCRT_nexttoward @@ -2445,8 +2445,8 @@ @ stub normf @ stub norml @ cdecl perror(str) -@ cdecl pow(double double) MSVCRT_pow -@ cdecl -arch=!i386 powf(float float) MSVCRT_powf +@ cdecl pow(double double) +@ cdecl -arch=!i386 powf(float float) @ cdecl putc(long ptr) MSVCRT_putc @ cdecl putchar(long) MSVCRT_putchar @ cdecl puts(str) MSVCRT_puts @@ -2459,26 +2459,26 @@ @ cdecl rand() @ cdecl rand_s(ptr) @ cdecl realloc(ptr long) -@ cdecl remainder(double double) MSVCR120_remainder -@ cdecl remainderf(float float) MSVCR120_remainderf +@ cdecl remainder(double double) +@ cdecl remainderf(float float) @ cdecl remainderl(double double) MSVCR120_remainderl @ cdecl remove(str) MSVCRT_remove -@ cdecl remquo(double double ptr) MSVCR120_remquo -@ cdecl remquof(float float ptr) MSVCR120_remquof +@ cdecl remquo(double double ptr) +@ cdecl remquof(float float ptr) @ cdecl remquol(double double ptr) MSVCR120_remquol @ cdecl rename(str str) MSVCRT_rename @ cdecl rewind(ptr) MSVCRT_rewind -@ cdecl rint(double) MSVCR120_rint -@ cdecl rintf(float) MSVCR120_rintf +@ cdecl rint(double) +@ cdecl rintf(float) @ cdecl rintl(double) MSVCR120_rintl -@ cdecl round(double) MSVCR120_round -@ cdecl roundf(float) MSVCR120_roundf +@ cdecl round(double) +@ cdecl roundf(float) @ cdecl roundl(double) MSVCR120_roundl -@ cdecl scalbln(double long) MSVCRT__scalb -@ cdecl scalblnf(float long) MSVCRT__scalbf +@ cdecl scalbln(double long) _scalb +@ cdecl scalblnf(float long) _scalbf @ cdecl scalblnl(double long) MSVCR120_scalbnl -@ cdecl scalbn(double long) MSVCRT__scalb -@ cdecl scalbnf(float long) MSVCRT__scalbf +@ cdecl scalbn(double long) _scalb +@ cdecl scalbnf(float long) _scalbf @ cdecl scalbnl(double long) MSVCR120_scalbnl @ cdecl set_terminate(ptr) @ cdecl set_unexpected(ptr) @@ -2487,12 +2487,12 @@ @ cdecl setlocale(long str) @ cdecl setvbuf(ptr str long long) MSVCRT_setvbuf @ cdecl signal(long long) -@ cdecl sin(double) MSVCRT_sin -@ cdecl -arch=!i386 sinf(float) MSVCRT_sinf -@ cdecl sinh(double) MSVCRT_sinh -@ cdecl -arch=!i386 sinhf(float) MSVCRT_sinhf -@ cdecl sqrt(double) MSVCRT_sqrt -@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf +@ cdecl sin(double) +@ cdecl -arch=!i386 sinf(float) +@ cdecl sinh(double) +@ cdecl -arch=!i386 sinhf(float) +@ cdecl sqrt(double) +@ cdecl -arch=!i386 sqrtf(float) @ cdecl srand(long) @ cdecl strcat(str str) @ cdecl strcat_s(str long str) @@ -2529,14 +2529,14 @@ @ cdecl -ret64 strtoumax(str ptr long) _strtoui64 @ cdecl strxfrm(ptr str long) @ cdecl system(str) -@ cdecl tan(double) MSVCRT_tan -@ cdecl -arch=!i386 tanf(float) MSVCRT_tanf -@ cdecl tanh(double) MSVCRT_tanh -@ cdecl -arch=!i386 tanhf(float) MSVCRT_tanhf +@ cdecl tan(double) +@ cdecl -arch=!i386 tanf(float) +@ cdecl tanh(double) +@ cdecl -arch=!i386 tanhf(float) @ cdecl terminate() -@ cdecl tgamma(double) MSVCR120_tgamma -@ cdecl tgammaf(float) MSVCR120_tgammaf -@ cdecl tgammal(double) MSVCR120_tgamma +@ cdecl tgamma(double) +@ cdecl tgammaf(float) +@ cdecl tgammal(double) tgamma @ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile_s(ptr) MSVCRT_tmpfile_s @ cdecl tmpnam(ptr) MSVCRT_tmpnam @@ -2546,8 +2546,8 @@ @ cdecl towctrans(long long) @ cdecl towlower(long) @ cdecl towupper(long) -@ cdecl trunc(double) MSVCR120_trunc -@ cdecl truncf(float) MSVCR120_truncf +@ cdecl trunc(double) +@ cdecl truncf(float) @ cdecl truncl(double) MSVCR120_truncl @ stub unexpected @ cdecl ungetc(long ptr) MSVCRT_ungetc diff --git a/include/msvcrt/math.h b/include/msvcrt/math.h index f344261a9f3..d4bc140f228 100644 --- a/include/msvcrt/math.h +++ b/include/msvcrt/math.h @@ -125,8 +125,6 @@ _ACRTIMP float __cdecl asinf(float); _ACRTIMP float __cdecl acosf(float); _ACRTIMP float __cdecl atanf(float); _ACRTIMP float __cdecl atan2f(float, float); -_ACRTIMP float __cdecl asinhf(float); -_ACRTIMP float __cdecl acoshf(float); _ACRTIMP float __cdecl atanhf(float); _ACRTIMP float __cdecl expf(float); _ACRTIMP float __cdecl logf(float); @@ -140,9 +138,6 @@ _ACRTIMP float __cdecl frexpf(float, int*); _ACRTIMP float __cdecl modff(float, float*); _ACRTIMP float __cdecl fmodf(float, float); -_ACRTIMP float __cdecl _copysignf(float, float); -_ACRTIMP float __cdecl _chgsignf(float); -_ACRTIMP float __cdecl _logbf(float); _ACRTIMP int __cdecl _finitef(float); _ACRTIMP int __cdecl _isnanf(float); _ACRTIMP int __cdecl _fpclassf(float); @@ -159,9 +154,6 @@ static inline float asinf(float x) { return asin(x); } static inline float acosf(float x) { return acos(x); } static inline float atanf(float x) { return atan(x); } static inline float atan2f(float x, float y) { return atan2(x, y); } -static inline float asinhf(float x) { return asinh(x); } -static inline float acoshf(float x) { return acosh(x); } -static inline float atanhf(float x) { return atanh(x); } static inline float expf(float x) { return exp(x); } static inline float logf(float x) { return log(x); } static inline float log10f(float x) { return log10(x); } @@ -174,15 +166,32 @@ static inline float frexpf(float x, int *y) { return frexp(x, y); } static inline float modff(float x, float *y) { double yd, ret = modf(x, &yd); *y = yd; return ret; } static inline float fmodf(float x, float y) { return fmod(x, y); } -static inline float _copysignf(float x, float y) { return _copysign(x, y); } -static inline float _chgsignf(float x) { return _chgsign(x); } -static inline float _logbf(float x) { return _logb(x); } static inline int _finitef(float x) { return _finite(x); } static inline int _isnanf(float x) { return _isnan(x); } static inline int _fpclassf(float x) { return _fpclass(x); } #endif +#if !defined(__i386__) || _MSVCR_VER>=120 + +_ACRTIMP float __cdecl _chgsignf(float); +_ACRTIMP float __cdecl _copysignf(float, float); +_ACRTIMP float __cdecl _logbf(float); +_ACRTIMP float __cdecl acoshf(float); +_ACRTIMP float __cdecl asinhf(float); +_ACRTIMP float __cdecl atanhf(float); + +#else + +static inline float _chgsignf(float x) { return _chgsign(x); } +static inline float _copysignf(float x, float y) { return _copysign(x, y); } +static inline float _logbf(float x) { return _logb(x); } +static inline float acoshf(float x) { return acosh(x); } +static inline float asinhf(float x) { return asinh(x); } +static inline float atanhf(float x) { return atanh(x); } + +#endif + static inline float ldexpf(float x, int y) { return ldexp(x, y); } #ifdef _UCRT -- 2.11.4.GIT