* mingwex/math/nextafterf.c (nextafterf): Correct

handling of -0.0.
	* mingwex/math/nextafterl.c: New file.
	* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
	(MATH_OBJS): Add nextafterl.o.
	* include/math.h (nextafterl): Uncomment prototype.
This commit is contained in:
Danny Smith
2005-05-09 09:36:10 +00:00
parent b6487cdedb
commit 5b91f0a6ef
5 changed files with 80 additions and 13 deletions

View File

@ -721,8 +721,7 @@ extern long double __cdecl nanl(const char *tagp);
/* 7.12.11.3 */
extern double __cdecl nextafter (double, double); /* in libmoldname.a */
extern float __cdecl nextafterf (float, float);
/* TODO: Not yet implemented */
/* extern long double __cdecl nextafterl (long double, long double); */
extern long double __cdecl nextafterl (long double, long double);
/* 7.12.11.4 The nexttoward functions: TODO */