aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-17 10:37:00 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-17 10:37:00 -0400
commitb171c137687dd4328f756d141d17f30bae750079 (patch)
tree218822186ff413dd5303e547c3671550514789d5
parent97c066e65af5d0a52d794d7fd81d7242ee46c49c (diff)
downloadglibc-b171c137687dd4328f756d141d17f30bae750079.tar
glibc-b171c137687dd4328f756d141d17f30bae750079.tar.gz
glibc-b171c137687dd4328f756d141d17f30bae750079.tar.bz2
glibc-b171c137687dd4328f756d141d17f30bae750079.zip
Fix last x86-64 mathinline change
Use correct function names.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86_64/fpu/bits/mathinline.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 755ca1d99f..289475c20c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-10-17 Ulrich Drepper <drepper@gmail.com>
+ * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
+ name.
+ (floorf): Likewise.
+
* nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2011-10-17 Andreas Schwab <schwab@redhat.com>
diff --git a/sysdeps/x86_64/fpu/bits/mathinline.h b/sysdeps/x86_64/fpu/bits/mathinline.h
index c3e03e8ca1..210bef8102 100644
--- a/sysdeps/x86_64/fpu/bits/mathinline.h
+++ b/sysdeps/x86_64/fpu/bits/mathinline.h
@@ -187,7 +187,7 @@ __END_NAMESPACE_C99
__BEGIN_NAMESPACE_STD
/* Largest integer not greater than X. */
__MATH_INLINE double
-__NTH (ceil (double __x))
+__NTH (floor (double __x))
{
double __res;
__asm ("roundsd $1, %1, %0" : "=x" (__res) : "x" (__x));
@@ -197,7 +197,7 @@ __END_NAMESPACE_STD
__BEGIN_NAMESPACE_C99
__MATH_INLINE float
-__NTH (ceilf (float __x))
+__NTH (floorf (float __x))
{
float __res;
__asm ("roundss $1, %1, %0" : "=x" (__res) : "x" (__x));