msvcrt: Use the fmin()/fminf() implementation from the bundled musl library.

This commit is contained in:
Alexandre Julliard 2023-04-03 15:36:57 +02:00
parent 4a9258ee97
commit 5564512b09

View file

@ -8920,34 +8920,6 @@ int CDECL _fdpcomp(float x, float y)
return _dpcomp(x, y);
}
/*********************************************************************
* fminf (MSVCR120.@)
*/
float CDECL fminf(float x, float y)
{
if(isnan(x))
return y;
if(isnan(y))
return x;
if(x==0 && y==0)
return signbit(x) ? x : y;
return x<y ? x : y;
}
/*********************************************************************
* fmin (MSVCR120.@)
*/
double CDECL fmin(double x, double y)
{
if(isnan(x))
return y;
if(isnan(y))
return x;
if(x==0 && y==0)
return signbit(x) ? x : y;
return x<y ? x : y;
}
/*********************************************************************
* asinh (MSVCR120.@)
*