diff options
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; |