[PATCH] msvcr120: Implement more C99 math functions.
Piotr Caban
piotr.caban at gmail.com
Mon Dec 8 06:29:31 CST 2014
On 12/06/14 17:07, Martin Storsjo wrote:
> +/*********************************************************************
> + * cbrt (MSVCR120.@)
> + */
> +double CDECL MSVCR120_cbrt(double x)
> +{
> +#ifdef HAVE_CBRT
> + return cbrt(x);
> +#else
> + return x < 0 ? -powf(-x, 1.0 / 3.0) : powf(x, 1.0 / 3.0);
> +#endif
Please use pow instead of powf here.
Thanks,
Piotr
More information about the wine-devel
mailing list