msvcr120: Add lgamma.
Signed-off-by: Daniel Lehman <dlehman@esri.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fcd0f6b074
commit
28a5405968
|
@ -16935,6 +16935,8 @@ for ac_func in \
|
||||||
erff \
|
erff \
|
||||||
exp2 \
|
exp2 \
|
||||||
exp2f \
|
exp2f \
|
||||||
|
lgamma \
|
||||||
|
lgammaf \
|
||||||
llrint \
|
llrint \
|
||||||
llrintf \
|
llrintf \
|
||||||
llround \
|
llround \
|
||||||
|
|
|
@ -2527,6 +2527,8 @@ AC_CHECK_FUNCS(\
|
||||||
erff \
|
erff \
|
||||||
exp2 \
|
exp2 \
|
||||||
exp2f \
|
exp2f \
|
||||||
|
lgamma \
|
||||||
|
lgammaf \
|
||||||
llrint \
|
llrint \
|
||||||
llrintf \
|
llrintf \
|
||||||
llround \
|
llround \
|
||||||
|
|
|
@ -258,9 +258,9 @@
|
||||||
@ stub ilogbf
|
@ stub ilogbf
|
||||||
@ stub ilogbl
|
@ stub ilogbl
|
||||||
@ cdecl ldexp(double long) ucrtbase.ldexp
|
@ cdecl ldexp(double long) ucrtbase.ldexp
|
||||||
@ stub lgamma
|
@ cdecl lgamma(double) ucrtbase.lgamma
|
||||||
@ stub lgammaf
|
@ cdecl lgammaf(float) ucrtbase.lgammaf
|
||||||
@ stub lgammal
|
@ cdecl lgammal(double) ucrtbase.lgammal
|
||||||
@ cdecl -ret64 llrint(double) ucrtbase.llrint
|
@ cdecl -ret64 llrint(double) ucrtbase.llrint
|
||||||
@ cdecl -ret64 llrintf(float) ucrtbase.llrintf
|
@ cdecl -ret64 llrintf(float) ucrtbase.llrintf
|
||||||
@ cdecl -ret64 llrintl(double) ucrtbase.llrintl
|
@ cdecl -ret64 llrintl(double) ucrtbase.llrintl
|
||||||
|
|
|
@ -2243,9 +2243,9 @@
|
||||||
@ cdecl labs(long) MSVCRT_labs
|
@ cdecl labs(long) MSVCRT_labs
|
||||||
@ cdecl ldexp(double long) MSVCRT_ldexp
|
@ cdecl ldexp(double long) MSVCRT_ldexp
|
||||||
@ cdecl ldiv(long long) MSVCRT_ldiv
|
@ cdecl ldiv(long long) MSVCRT_ldiv
|
||||||
@ stub lgamma
|
@ cdecl lgamma(double) MSVCR120_lgamma
|
||||||
@ stub lgammaf
|
@ cdecl lgammaf(float) MSVCR120_lgammaf
|
||||||
@ stub lgammal
|
@ cdecl lgammal(double) MSVCR120_lgammal
|
||||||
@ cdecl -ret64 llabs(int64) MSVCRT_llabs
|
@ cdecl -ret64 llabs(int64) MSVCRT_llabs
|
||||||
@ stub lldiv
|
@ stub lldiv
|
||||||
@ cdecl -ret64 llrint(double) MSVCR120_llrint
|
@ cdecl -ret64 llrint(double) MSVCR120_llrint
|
||||||
|
|
|
@ -1906,9 +1906,9 @@
|
||||||
@ cdecl labs(long) msvcr120.labs
|
@ cdecl labs(long) msvcr120.labs
|
||||||
@ cdecl ldexp(double long) msvcr120.ldexp
|
@ cdecl ldexp(double long) msvcr120.ldexp
|
||||||
@ cdecl ldiv(long long) msvcr120.ldiv
|
@ cdecl ldiv(long long) msvcr120.ldiv
|
||||||
@ stub lgamma
|
@ cdecl lgamma(double) msvcr120.lgamma
|
||||||
@ stub lgammaf
|
@ cdecl lgammaf(float) msvcr120.lgammaf
|
||||||
@ stub lgammal
|
@ cdecl lgammal(double) msvcr120.lgammal
|
||||||
@ cdecl -ret64 llabs(int64) msvcr120.llabs
|
@ cdecl -ret64 llabs(int64) msvcr120.llabs
|
||||||
@ stub lldiv
|
@ stub lldiv
|
||||||
@ cdecl -ret64 llrint(double) msvcr120.llrint
|
@ cdecl -ret64 llrint(double) msvcr120.llrint
|
||||||
|
|
|
@ -2843,3 +2843,37 @@ LDOUBLE CDECL MSVCR120_remainderl(LDOUBLE x, LDOUBLE y)
|
||||||
{
|
{
|
||||||
return MSVCR120_remainder(x, y);
|
return MSVCR120_remainder(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* lgamma (MSVCR120.@)
|
||||||
|
*/
|
||||||
|
double CDECL MSVCR120_lgamma(double x)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_LGAMMA
|
||||||
|
return lgamma(x);
|
||||||
|
#else
|
||||||
|
FIXME( "not implemented\n" );
|
||||||
|
return 0.0;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* lgammaf (MSVCR120.@)
|
||||||
|
*/
|
||||||
|
float CDECL MSVCR120_lgammaf(float x)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_LGAMMAF
|
||||||
|
return lgammaf(x);
|
||||||
|
#else
|
||||||
|
FIXME( "not implemented\n" );
|
||||||
|
return 0.0f;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* lgammal (MSVCR120.@)
|
||||||
|
*/
|
||||||
|
LDOUBLE CDECL MSVCR120_lgammal(LDOUBLE x)
|
||||||
|
{
|
||||||
|
return MSVCR120_lgamma(x);
|
||||||
|
}
|
||||||
|
|
|
@ -2377,9 +2377,9 @@
|
||||||
@ cdecl labs(long) MSVCRT_labs
|
@ cdecl labs(long) MSVCRT_labs
|
||||||
@ cdecl ldexp(double long) MSVCRT_ldexp
|
@ cdecl ldexp(double long) MSVCRT_ldexp
|
||||||
@ cdecl ldiv(long long) MSVCRT_ldiv
|
@ cdecl ldiv(long long) MSVCRT_ldiv
|
||||||
@ stub lgamma
|
@ cdecl lgamma(double) MSVCR120_lgamma
|
||||||
@ stub lgammaf
|
@ cdecl lgammaf(float) MSVCR120_lgammaf
|
||||||
@ stub lgammal
|
@ cdecl lgammal(double) MSVCR120_lgammal
|
||||||
@ cdecl -ret64 llabs(int64) MSVCRT_llabs
|
@ cdecl -ret64 llabs(int64) MSVCRT_llabs
|
||||||
@ stub lldiv
|
@ stub lldiv
|
||||||
@ cdecl -ret64 llrint(double) MSVCR120_llrint
|
@ cdecl -ret64 llrint(double) MSVCR120_llrint
|
||||||
|
|
|
@ -351,6 +351,12 @@
|
||||||
/* Define to 1 if you have the `ldap_parse_vlv_control' function. */
|
/* Define to 1 if you have the `ldap_parse_vlv_control' function. */
|
||||||
#undef HAVE_LDAP_PARSE_VLV_CONTROL
|
#undef HAVE_LDAP_PARSE_VLV_CONTROL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `lgamma' function. */
|
||||||
|
#undef HAVE_LGAMMA
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `lgammaf' function. */
|
||||||
|
#undef HAVE_LGAMMAF
|
||||||
|
|
||||||
/* Define to 1 if you have the `gettextpo' library (-lgettextpo). */
|
/* Define to 1 if you have the `gettextpo' library (-lgettextpo). */
|
||||||
#undef HAVE_LIBGETTEXTPO
|
#undef HAVE_LIBGETTEXTPO
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue