diff options
author | DJ Delorie <dj@redhat.com> | 2005-03-27 05:28:42 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-03-27 05:28:42 +0000 |
commit | 9334f9c6cd576128ec4fc891b5fcf267a7fca7fb (patch) | |
tree | fda195cba89e4178623ea39866f41e6e28eb67c1 /libiberty/copysign.c | |
parent | 8da8e0b3f397df66d6e1c03470f4e6c31a63d292 (diff) | |
download | gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.zip gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.gz gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/copysign.c')
-rw-r--r-- | libiberty/copysign.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libiberty/copysign.c b/libiberty/copysign.c index d288be2..6793f22 100644 --- a/libiberty/copysign.c +++ b/libiberty/copysign.c @@ -132,8 +132,7 @@ typedef union #if defined(__IEEE_BIG_ENDIAN) || defined(__IEEE_LITTLE_ENDIAN) double -copysign (x, y) - double x, y; +copysign (double x, double y) { __ieee_double_shape_type a,b; b.value = y; @@ -145,8 +144,7 @@ copysign (x, y) #else double -copysign (x, y) - double x, y; +copysign (double x, double y) { if ((x < 0 && y > 0) || (x > 0 && y < 0)) return -x; |