Piotr Caban (@piotr) commented about include/msvcrt/math.h:
+_ACRTIMP long double __cdecl remquol(long double, long double, int *); +_ACRTIMP long double __cdecl rintl(long double); +_ACRTIMP long double __cdecl roundl(long double); +_ACRTIMP long double __cdecl scalblnl(long double, __msvcrt_long); +_ACRTIMP long double __cdecl scalbnl(long double, int); +_ACRTIMP long double __cdecl tgammal(long double); +_ACRTIMP long double __cdecl truncl(long double); + +static inline long double acosl(long double x) { return acos(x); } +static inline long double asinl(long double x) { return asin(x); } +static inline long double atan2l(long double y, long double x) { return atan2(y, x); } +static inline long double atanl(long double x) { return atan(x); } +static inline long double ceill(long double x) { return ceil(x); } +static inline long double cosl(long double x) { return cos(x); } +static inline long double expl(long double x) { return exp(x); } +static inline long double fabsl(long double x) { return fabs((double)x); } Is this cast needed?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10123#note_129900