Hi Zebediah,
Sorry for long reply time.
On 11/27/18 4:45 AM, Zebediah Figura wrote:
+float CDECL MSVCRT_nexttowardf(float num, double next) +{ +#ifdef HAVE_NEXTTOWARDF
- float ret = nexttowardf(num, next);
- if (!isnormal(ret) && !isnan(ret) && !isinf(num)) *MSVCRT__errno() = MSVCRT_ERANGE;
- return ret;
isnormal is also a C99 function. You can use MSVCRT__fpclass instead.
Thanks, Piotr