msvcr120: If erff is not available, fall back to erf.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5b9c69b93f
commit
ddff85a361
|
@ -2732,19 +2732,6 @@ short CDECL MSVCR120__ldtest(LDOUBLE *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.@)
|
||||
*/
|
||||
|
@ -2758,6 +2745,18 @@ double CDECL MSVCR120_erf(double x)
|
|||
#endif
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* erff (MSVCR120.@)
|
||||
*/
|
||||
float CDECL MSVCR120_erff(float x)
|
||||
{
|
||||
#ifdef HAVE_ERFF
|
||||
return erff(x);
|
||||
#else
|
||||
return MSVCR120_erf(x);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* erfl (MSVCR120.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue