Commit 4a9258ee authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Use the fmax()/fmaxf() implementation from the bundled musl library.

parent 09006678
......@@ -8858,34 +8858,6 @@ float CDECL erfcf(float x)
}
/*********************************************************************
* fmaxf (MSVCR120.@)
*/
float CDECL fmaxf(float x, float y)
{
if(isnan(x))
return y;
if(isnan(y))
return x;
if(x==0 && y==0)
return signbit(x) ? y : x;
return x<y ? y : x;
}
/*********************************************************************
* fmax (MSVCR120.@)
*/
double CDECL fmax(double x, double y)
{
if(isnan(x))
return y;
if(isnan(y))
return x;
if(x==0 && y==0)
return signbit(x) ? y : x;
return x<y ? y : x;
}
/*********************************************************************
* fdimf (MSVCR120.@)
*/
float CDECL fdimf(float x, float y)
......
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