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)
}
/*********************************************************************
* erff (MSVCR120.@)
* erf (MSVCR120.@)
*/
float CDECL MSVCR120_erff(float x)
double CDECL MSVCR120_erf(double x)
{
#ifdef HAVE_ERFF
return erff(x);
#ifdef HAVE_ERF
return erf(x);
#else
FIXME( "not implemented\n" );
return 0.0f;
return 0.0;
#endif
}
/*********************************************************************
* erf (MSVCR120.@)
* erff (MSVCR120.@)
*/
double CDECL MSVCR120_erf(double x)
float CDECL MSVCR120_erff(float x)
{
#ifdef HAVE_ERF
return erf(x);
#ifdef HAVE_ERFF
return erff(x);
#else
FIXME( "not implemented\n" );
return 0.0;
return MSVCR120_erf(x);
#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