]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove redundant mathinline.h.
authorRyan S. Arnold <rsa@us.ibm.com>
Fri, 24 Jul 2009 17:24:32 +0000 (12:24 -0500)
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>
Fri, 24 Jul 2009 20:10:55 +0000 (15:10 -0500)
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.

sysdeps/powerpc/fpu/bits/mathinline.h

index 4d4612dac09459973c1ce42585a811bef7a73cf3..4fa4bcaf16c15ac80502fdb2f857f37548acc67a 100644 (file)
@@ -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 */