[PATCH v2] include: Add some math declarations.

Zebediah Figura zfigura at codeweavers.com
Wed Apr 6 14:31:08 CDT 2022


On 4/4/22 21:40, Daniel Lehman wrote:
> @@ -208,6 +237,14 @@ static inline float _logbf(float x) { return _logb(x); }
>   static inline float acoshf(float x) { return acosh(x); }
>   static inline float asinhf(float x) { return asinh(x); }
>   static inline float atanhf(float x) { return atanh(x); }
> +static inline float erff(float x) { return erf(x); }
> +static inline float fdimf(float x, float y) { return fdim(x, y); }
> +static inline float fmaxf(float x, float y) { return fmax(x, y); }
> +static inline float fminf(float x, float y) { return fmin(x, y); }
> +static inline float lgammaf(float x) { return lgamma(x); }
> +static inline float nextafterf(float x, float y) { return nextafter(x, y); }
> +static inline float remainderf(float x, float y) { return remainder(x, y); }
> +static inline float tgammaf(float x) { return tgamma(x); }
>   
>   #endif
>   

All of these functions don't seem to be available for CRT versions below 
120, i.e. neither the float or double version is, so these forwards 
won't work anyway. It looks like the asinh/acosh/atanh forwards are also 
broken in this respect.



More information about the wine-devel mailing list