msvcrt: Use the fdim()/fdimf() implementation from the bundled musl library.

This commit is contained in:
Alexandre Julliard 2023-04-03 15:37:21 +02:00
parent 5564512b09
commit 233eea6cfa

View file

@ -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.@)
*/