about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754')
-rw-r--r--sysdeps/libm-ieee754/s_nextafterl.c4
-rw-r--r--sysdeps/libm-ieee754/s_nexttoward.c (renamed from sysdeps/libm-ieee754/s_nextafterx.c)14
-rw-r--r--sysdeps/libm-ieee754/s_nexttowardf.c (renamed from sysdeps/libm-ieee754/s_nextafterxf.c)8
-rw-r--r--sysdeps/libm-ieee754/s_nexttowardl.c (renamed from sysdeps/libm-ieee754/s_nextafterxl.c)0
4 files changed, 13 insertions, 13 deletions
diff --git a/sysdeps/libm-ieee754/s_nextafterl.c b/sysdeps/libm-ieee754/s_nextafterl.c
index d7bdf026e7..aea57e3086 100644
--- a/sysdeps/libm-ieee754/s_nextafterl.c
+++ b/sysdeps/libm-ieee754/s_nextafterl.c
@@ -97,5 +97,5 @@ static char rcsid[] = "$NetBSD: $";
 	return x;
 }
 weak_alias (__nextafterl, nextafterl)
-strong_alias (__nextafterl, __nextafterxl)
-weak_alias (__nextafterl, nextafterxl)
+strong_alias (__nextafterl, __nexttowardl)
+weak_alias (__nextafterl, nexttowardl)
diff --git a/sysdeps/libm-ieee754/s_nextafterx.c b/sysdeps/libm-ieee754/s_nexttoward.c
index 745ceaf34d..0bb57d8465 100644
--- a/sysdeps/libm-ieee754/s_nextafterx.c
+++ b/sysdeps/libm-ieee754/s_nexttoward.c
@@ -1,5 +1,5 @@
-/* s_nextafterx.c
- * Conversion freom s_nextafter.c by Ulrich Drepper, Cygnus Support,
+/* s_nexttoward.c
+ * Conversion from s_nextafter.c by Ulrich Drepper, Cygnus Support,
  * drepper@cygnus.com.
  */
 
@@ -29,9 +29,9 @@ static char rcsid[] = "$NetBSD: $";
 #include "math_private.h"
 
 #ifdef __STDC__
-	double __nextafterx(double x, long double y)
+	double __nexttoward(double x, long double y)
 #else
-	double __nextafterx(x,y)
+	double __nexttoward(x,y)
 	double x;
 	long double y;
 #endif
@@ -91,8 +91,8 @@ static char rcsid[] = "$NetBSD: $";
 	INSERT_WORDS(x,hx,lx);
 	return x;
 }
-weak_alias (__nextafterx, nextafterx)
+weak_alias (__nexttoward, nexttoward)
 #ifdef NO_LONG_DOUBLE
-strong_alias (__nextafterx, __nextafterxl)
-weak_alias (__nextafterx, nextafterxl)
+strong_alias (__nexttoward, __nexttowardl)
+weak_alias (__nexttoward, nexttowardl)
 #endif
diff --git a/sysdeps/libm-ieee754/s_nextafterxf.c b/sysdeps/libm-ieee754/s_nexttowardf.c
index a4726b41b8..71a28987ec 100644
--- a/sysdeps/libm-ieee754/s_nextafterxf.c
+++ b/sysdeps/libm-ieee754/s_nexttowardf.c
@@ -1,4 +1,4 @@
-/* s_nextafterxf.c -- float version of s_nextafter.c.
+/* s_nexttowardf.c -- float version of s_nextafter.c.
  * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
  */
 
@@ -21,9 +21,9 @@ static char rcsid[] = "$NetBSD: $";
 #include "math_private.h"
 
 #ifdef __STDC__
-	float __nextafterxf(float x, long double y)
+	float __nexttowardf(float x, long double y)
 #else
-	float __nextafterxf(x,y)
+	float __nexttowardf(x,y)
 	float x;
 	long double y;
 #endif
@@ -75,4 +75,4 @@ static char rcsid[] = "$NetBSD: $";
 	SET_FLOAT_WORD(x,hx);
 	return x;
 }
-weak_alias (__nextafterxf, nextafterxf)
+weak_alias (__nexttowardf, nexttowardf)
diff --git a/sysdeps/libm-ieee754/s_nextafterxl.c b/sysdeps/libm-ieee754/s_nexttowardl.c
index 73c3610fc1..73c3610fc1 100644
--- a/sysdeps/libm-ieee754/s_nextafterxl.c
+++ b/sysdeps/libm-ieee754/s_nexttowardl.c