Skip to content

Commit

Permalink
[BZ #6845]
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Aug 17, 2008
1 parent 965805e commit 7df49c5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 133 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
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.

2008-08-15 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.
Expand Down
10 changes: 9 additions & 1 deletion sysdeps/powerpc/fpu/bits/mathinline.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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 */

Expand Down
132 changes: 0 additions & 132 deletions sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h

This file was deleted.

0 comments on commit 7df49c5

Please sign in to comment.