Changeset 609 for branches/GNU/src/binutils/libiberty/copysign.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/copysign.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 130 130 #endif 131 131 132 #if defined(__IEEE_BIG_ENDIAN) || defined(__IEEE_LITTLE_ENDIAN) 132 133 133 double DEFUN(copysign, (x, y), double x AND double y) 134 double 135 copysign (x, y) 136 double x, y; 134 137 { 135 138 __ieee_double_shape_type a,b; … … 139 142 return a.value; 140 143 } 144 145 #else 146 147 double 148 copysign (x, y) 149 double x, y; 150 { 151 if ((x < 0 && y > 0) || (x > 0 && y < 0)) 152 return -x; 153 return x; 154 } 155 156 #endif -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.