about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@us.ibm.com>2009-07-24 12:24:32 -0500
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>2009-07-24 15:10:55 -0500
commitf66ecd702a6e58e54b50cf91ad86f7d269b1a92d (patch)
tree7ce207dbdc5a5c11957d31af5dffcc2602c25318
parentb35745e509d6cd0939b1f97d4d46dcacc6e4b4d8 (diff)
downloadglibc-f66ecd702a6e58e54b50cf91ad86f7d269b1a92d.tar.gz
glibc-f66ecd702a6e58e54b50cf91ad86f7d269b1a92d.tar.xz
glibc-f66ecd702a6e58e54b50cf91ad86f7d269b1a92d.zip
Remove redundant mathinline.h.
commit 7df49c5d81b9f8ea55f16af939e0662d24cc099e
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sun Aug 17 07:34:10 2008 +0000

2008-08-14  Ryan S. Arnold  <rsa@us.ibm.com>

	[BZ #6845]
	* sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new
	__signbitl definition and __LONG_DOUBLE_128__ guard from:
	* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as
	redundant.  Functions which call floating point assembler operations
	should go into a sysdeps powerpc/fpu directory.
-rw-r--r--sysdeps/powerpc/fpu/bits/mathinline.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fpu/bits/mathinline.h b/sysdeps/powerpc/fpu/bits/mathinline.h
index 4d4612dac0..4fa4bcaf16 100644
--- a/sysdeps/powerpc/fpu/bits/mathinline.h
+++ b/sysdeps/powerpc/fpu/bits/mathinline.h
@@ -1,5 +1,5 @@
 /* Inline math functions for powerpc.
-   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2004, 2006, 2007
+   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2004, 2006, 2007, 2008
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -72,6 +72,14 @@ __NTH (__signbit (double __x))
   __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
   return __u.__i[0] < 0;
 }
+#  ifdef __LONG_DOUBLE_128__
+__MATH_INLINE int
+__NTH (__signbitl (long double __x))
+{
+  __extension__ union { long double __d; int __i[4]; } __u = { __d: __x };
+  return __u.__i[0] < 0;
+}
+#  endif
 # endif
 #endif /* __USE_ISOC99 */