Alexandre Julliard : msvcrt: Use the fdim()/fdimf() implementation from the bundled musl library.
Module: wine Branch: master Commit: 233eea6cfa59f43050ada582168fffb6587f59e7 URL: https://gitlab.winehq.org/wine/wine/-/commit/233eea6cfa59f43050ada582168fffb... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Apr 3 15:37:21 2023 +0200 msvcrt: Use the fdim()/fdimf() implementation from the bundled musl library. --- dlls/msvcrt/math.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index 6e29972db3e..6dcd9b5ec5f 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -8857,30 +8857,6 @@ float CDECL erfcf(float x) return FLT_MIN * FLT_MIN; } -/********************************************************************* - * fdimf (MSVCR120.@) - */ -float CDECL fdimf(float x, float y) -{ - if(isnan(x)) - return x; - if(isnan(y)) - return y; - return x>y ? x-y : 0; -} - -/********************************************************************* - * fdim (MSVCR120.@) - */ -double CDECL fdim(double x, double y) -{ - if(isnan(x)) - return x; - if(isnan(y)) - return y; - return x>y ? x-y : 0; -} - /********************************************************************* * _fdsign (MSVCR120.@) */
participants (1)
-
Alexandre Julliard