Commit 85826158 authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

msvcrt: Hook up the unprefixed logb/logbf/logbl functions for msvcr120/ucrtbase.

parent fc110738
......@@ -276,9 +276,9 @@
@ cdecl log2(double) ucrtbase.log2
@ cdecl log2f(float) ucrtbase.log2f
@ cdecl log2l(double) ucrtbase.log2l
@ stub logb
@ stub logbf
@ stub logbl
@ cdecl logb(double) ucrtbase.logb
@ cdecl logbf(float) ucrtbase.logbf
@ cdecl logbl(double) ucrtbase.logbl
@ cdecl -arch=arm,x86_64,arm64 logf(float) ucrtbase.logf
@ cdecl lrint(double) ucrtbase.lrint
@ cdecl lrintf(float) ucrtbase.lrintf
......
......@@ -2265,9 +2265,9 @@
@ cdecl log2(double) MSVCR120_log2
@ cdecl log2f(float) MSVCR120_log2f
@ cdecl log2l(double) MSVCR120_log2l
@ stub logb
@ stub logbf
@ stub logbl
@ cdecl logb(double) MSVCRT__logb
@ cdecl logbf(float) MSVCRT__logbf
@ cdecl logbl(double) MSVCRT__logb
@ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp
@ cdecl lrint(double) MSVCR120_lrint
@ cdecl lrintf(float) MSVCR120_lrintf
......
......@@ -1928,9 +1928,9 @@
@ cdecl log2(double) msvcr120.log2
@ cdecl log2f(float) msvcr120.log2f
@ cdecl log2l(double) msvcr120.log2l
@ stub logb
@ stub logbf
@ stub logbl
@ cdecl logb(double) msvcr120.logb
@ cdecl logbf(float) msvcr120.logbf
@ cdecl logbl(double) msvcr120.logbl
@ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) msvcr120.longjmp
@ cdecl lrint(double) msvcr120.lrint
@ cdecl lrintf(float) msvcr120.lrintf
......
......@@ -157,6 +157,17 @@ float CDECL MSVCRT__nextafterf( float num, float next )
return nextafterf( num, next );
}
/*********************************************************************
* _logbf (MSVCRT.@)
*/
float CDECL MSVCRT__logbf( float num )
{
float ret = logbf(num);
if (isnan(num)) math_error(_DOMAIN, "_logbf", num, 0, ret);
else if (!num) math_error(_SING, "_logbf", num, 0, ret);
return ret;
}
#endif
#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
......@@ -180,17 +191,6 @@ INT CDECL MSVCRT__isnanf( float num )
}
/*********************************************************************
* _logbf (MSVCRT.@)
*/
float CDECL MSVCRT__logbf( float num )
{
float ret = logbf(num);
if (isnan(num)) math_error(_DOMAIN, "_logbf", num, 0, ret);
else if (!num) math_error(_SING, "_logbf", num, 0, ret);
return ret;
}
/*********************************************************************
* MSVCRT_acosf (MSVCRT.@)
*/
float CDECL MSVCRT_acosf( float x )
......
......@@ -2398,9 +2398,9 @@
@ cdecl log2(double) MSVCR120_log2
@ cdecl log2f(float) MSVCR120_log2f
@ cdecl log2l(double) MSVCR120_log2l
@ stub logb
@ stub logbf
@ stub logbl
@ cdecl logb(double) MSVCRT__logb
@ cdecl logbf(float) MSVCRT__logbf
@ cdecl logbl(double) MSVCRT__logb
@ cdecl -arch=arm,x86_64,arm64 logf(float) MSVCRT_logf
@ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long) MSVCRT_longjmp
@ cdecl lrint(double) MSVCR120_lrint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment