Commit ddff85a3 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

msvcr120: If erff is not available, fall back to erf.

parent 5b9c69b9
...@@ -2733,28 +2733,27 @@ short CDECL MSVCR120__ldtest(LDOUBLE *x) ...@@ -2733,28 +2733,27 @@ short CDECL MSVCR120__ldtest(LDOUBLE *x)
} }
/********************************************************************* /*********************************************************************
* erff (MSVCR120.@) * erf (MSVCR120.@)
*/ */
float CDECL MSVCR120_erff(float x) double CDECL MSVCR120_erf(double x)
{ {
#ifdef HAVE_ERFF #ifdef HAVE_ERF
return erff(x); return erf(x);
#else #else
FIXME( "not implemented\n" ); FIXME( "not implemented\n" );
return 0.0f; return 0.0;
#endif #endif
} }
/********************************************************************* /*********************************************************************
* erf (MSVCR120.@) * erff (MSVCR120.@)
*/ */
double CDECL MSVCR120_erf(double x) float CDECL MSVCR120_erff(float x)
{ {
#ifdef HAVE_ERF #ifdef HAVE_ERFF
return erf(x); return erff(x);
#else #else
FIXME( "not implemented\n" ); return MSVCR120_erf(x);
return 0.0;
#endif #endif
} }
......
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