Commit 5564512b authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 4a9258ee
...@@ -8921,34 +8921,6 @@ int CDECL _fdpcomp(float x, float y) ...@@ -8921,34 +8921,6 @@ int CDECL _fdpcomp(float x, float 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.@) * asinh (MSVCR120.@)
* *
* Copied from musl: src/math/asinh.c * Copied from musl: src/math/asinh.c
......
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