Module: wine Branch: master Commit: 5564512b09483156229f1231e75fc996c78d357e URL: https://gitlab.winehq.org/wine/wine/-/commit/5564512b09483156229f1231e75fc99...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 3 15:36:57 2023 +0200
msvcrt: Use the fmin()/fminf() implementation from the bundled musl library.
---
dlls/msvcrt/math.c | 28 ---------------------------- 1 file changed, 28 deletions(-)
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index aa33f03106a..6e29972db3e 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -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.@) *