diff options
Diffstat (limited to 'sysdeps/alpha')
-rw-r--r-- | sysdeps/alpha/__math.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/alpha/__math.h b/sysdeps/alpha/__math.h index b06f716c50..06e43dbf04 100644 --- a/sysdeps/alpha/__math.h +++ b/sysdeps/alpha/__math.h @@ -18,7 +18,9 @@ Cambridge, MA 02139, USA. */ #if defined (__GNUC__) && !defined (__NO_MATH_INLINES) -extern __inline __CONSTVALUE double +extern __inline double __copysign (double __x, double __y) __attribute__ ((__const__)); + +extern __inline double __copysign (double __x, double __y) { __asm ("cpys %1, %2, %0" : "=f" (__x) : "f" (__y), "f" (__x)); |