mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:10:39 +00:00
msvcrt: Use the fdim()/fdimf() implementation from the bundled musl library.
This commit is contained in:
parent
5564512b09
commit
233eea6cfa
|
@ -8857,30 +8857,6 @@ float CDECL erfcf(float x)
|
|||
return FLT_MIN * FLT_MIN;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* fdimf (MSVCR120.@)
|
||||
*/
|
||||
float CDECL fdimf(float x, float y)
|
||||
{
|
||||
if(isnan(x))
|
||||
return x;
|
||||
if(isnan(y))
|
||||
return y;
|
||||
return x>y ? x-y : 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* fdim (MSVCR120.@)
|
||||
*/
|
||||
double CDECL fdim(double x, double y)
|
||||
{
|
||||
if(isnan(x))
|
||||
return x;
|
||||
if(isnan(y))
|
||||
return y;
|
||||
return x>y ? x-y : 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _fdsign (MSVCR120.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue