msvcr120: Add erf functions.
This commit is contained in:
parent
9bf73a043a
commit
e89813fe3c
|
@ -16572,6 +16572,8 @@ fi
|
||||||
for ac_func in \
|
for ac_func in \
|
||||||
cbrt \
|
cbrt \
|
||||||
cbrtf \
|
cbrtf \
|
||||||
|
erf \
|
||||||
|
erff \
|
||||||
exp2 \
|
exp2 \
|
||||||
exp2f \
|
exp2f \
|
||||||
llrint \
|
llrint \
|
||||||
|
|
|
@ -2590,6 +2590,8 @@ fi
|
||||||
AC_CHECK_FUNCS(\
|
AC_CHECK_FUNCS(\
|
||||||
cbrt \
|
cbrt \
|
||||||
cbrtf \
|
cbrtf \
|
||||||
|
erf \
|
||||||
|
erff \
|
||||||
exp2 \
|
exp2 \
|
||||||
exp2f \
|
exp2f \
|
||||||
llrint \
|
llrint \
|
||||||
|
|
|
@ -2119,12 +2119,12 @@
|
||||||
@ stub ctanhl
|
@ stub ctanhl
|
||||||
@ stub ctanl
|
@ stub ctanl
|
||||||
@ cdecl -ret64 div(long long) MSVCRT_div
|
@ cdecl -ret64 div(long long) MSVCRT_div
|
||||||
@ stub erf
|
@ cdecl erf(double) MSVCR120_erf
|
||||||
@ stub erfc
|
@ stub erfc
|
||||||
@ stub erfcf
|
@ stub erfcf
|
||||||
@ stub erfcl
|
@ stub erfcl
|
||||||
@ stub erff
|
@ cdecl erff(double) MSVCR120_erff
|
||||||
@ stub erfl
|
@ cdecl erfl(double) MSVCR120_erfl
|
||||||
@ cdecl exit(long) MSVCRT_exit
|
@ cdecl exit(long) MSVCRT_exit
|
||||||
@ cdecl exp(double) MSVCRT_exp
|
@ cdecl exp(double) MSVCRT_exp
|
||||||
@ cdecl exp2(double) MSVCR120_exp2
|
@ cdecl exp2(double) MSVCR120_exp2
|
||||||
|
|
|
@ -1788,12 +1788,12 @@
|
||||||
@ stub ctanhl
|
@ stub ctanhl
|
||||||
@ stub ctanl
|
@ stub ctanl
|
||||||
@ cdecl -ret64 div(long long) msvcr120.div
|
@ cdecl -ret64 div(long long) msvcr120.div
|
||||||
@ stub erf
|
@ cdecl erf(double) msvcr120.erf
|
||||||
@ stub erfc
|
@ stub erfc
|
||||||
@ stub erfcf
|
@ stub erfcf
|
||||||
@ stub erfcl
|
@ stub erfcl
|
||||||
@ stub erff
|
@ cdecl erff(double) msvcr120.erff
|
||||||
@ stub erfl
|
@ cdecl erfl(double) msvcr120.erfl
|
||||||
@ cdecl exit(long) msvcr120.exit
|
@ cdecl exit(long) msvcr120.exit
|
||||||
@ cdecl exp(double) msvcr120.exp
|
@ cdecl exp(double) msvcr120.exp
|
||||||
@ cdecl exp2(double) msvcr120.exp2
|
@ cdecl exp2(double) msvcr120.exp2
|
||||||
|
|
|
@ -2606,6 +2606,40 @@ short CDECL MSVCR120__ldtest(LDOUBLE *x)
|
||||||
return MSVCR120__dclass(*x);
|
return MSVCR120__dclass(*x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* erff (MSVCR120.@)
|
||||||
|
*/
|
||||||
|
float CDECL MSVCR120_erff(float x)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_ERFF
|
||||||
|
return erff(x);
|
||||||
|
#else
|
||||||
|
FIXME( "not implemented\n" );
|
||||||
|
return 0.0f;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* erf (MSVCR120.@)
|
||||||
|
*/
|
||||||
|
double CDECL MSVCR120_erf(double x)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_ERF
|
||||||
|
return erf(x);
|
||||||
|
#else
|
||||||
|
FIXME( "not implemented\n" );
|
||||||
|
return 0.0;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* erfl (MSVCR120.@)
|
||||||
|
*/
|
||||||
|
LDOUBLE CDECL MSVCR120_erfl(LDOUBLE x)
|
||||||
|
{
|
||||||
|
return MSVCR120_erf(x);
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* fmaxf (MSVCR120.@)
|
* fmaxf (MSVCR120.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -111,6 +111,12 @@
|
||||||
/* Define to 1 if you have the `epoll_create' function. */
|
/* Define to 1 if you have the `epoll_create' function. */
|
||||||
#undef HAVE_EPOLL_CREATE
|
#undef HAVE_EPOLL_CREATE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `erf' function. */
|
||||||
|
#undef HAVE_ERF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `erff' function. */
|
||||||
|
#undef HAVE_ERFF
|
||||||
|
|
||||||
/* Define to 1 if you have the `exp2' function. */
|
/* Define to 1 if you have the `exp2' function. */
|
||||||
#undef HAVE_EXP2
|
#undef HAVE_EXP2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue