Module: wine Branch: master Commit: 4a9258ee97182947dac772ec67e8975dc67ec063 URL: https://gitlab.winehq.org/wine/wine/-/commit/4a9258ee97182947dac772ec67e8975...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 3 15:36:22 2023 +0200
msvcrt: Use the fmax()/fmaxf() 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 1e1bece23f1..aa33f03106a 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -8857,34 +8857,6 @@ float CDECL erfcf(float x) return FLT_MIN * FLT_MIN; }
-/********************************************************************* - * 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.@) */