* mingwex/math/nexttoward.c: New file.

* mingwex/math/nexttowardf.c: New file.
	* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
	* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
	mexttowardf.c,
	(MATH_OBJS):  Add nexttoward.o,	mexttowardf.o,
	* include/math.h (nexttoward, nextowardf, nexttowardl): Add
	prototypes.
This commit is contained in:
Danny Smith
2005-05-10 08:39:07 +00:00
parent 5b91f0a6ef
commit 96c837f0ca
6 changed files with 103 additions and 3 deletions

View File

@@ -723,7 +723,10 @@ extern double __cdecl nextafter (double, double); /* in libmoldname.a */
extern float __cdecl nextafterf (float, float);
extern long double __cdecl nextafterl (long double, long double);
/* 7.12.11.4 The nexttoward functions: TODO */
/* 7.12.11.4 The nexttoward functions */
extern double __cdecl nexttoward (double, long double);
extern float __cdecl nexttowardf (float, long double);
extern long double __cdecl nexttowardl (long double, long double);
/* 7.12.12.1 */
/* x > y ? (x - y) : 0.0 */