11 Jul
2017
11 Jul
'17
7:31 a.m.
On 07/11/17 14:11, Piotr Caban wrote:
On 07/10/17 06:55, Alex Henrie wrote:
/********************************************************************* + * erfc (MSVCR120.@) + */ +double CDECL MSVCR120_erfc(double x) +{ +#ifdef HAVE_ERFC + return erfc(x); +#else + FIXME( "not implemented\n" ); + return 0.0; +#endif You can return 1.0 - MSVCR120_erf(x) if erfc is not available. After thinking about it more I don't know if it's better to print FIXME or return inaccurate value when erf(x) is close to 1. How about returning approximate value and printing FIXME message?
Thanks, Piotr