Formerly alpha/__math.h.~3~
authorRoland McGrath <roland@gnu.org>
Wed, 25 Nov 1992 19:11:17 +0000 (19:11 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 25 Nov 1992 19:11:17 +0000 (19:11 +0000)
sysdeps/alpha/__math.h

index 70a2cbe..5461fca 100644 (file)
@@ -28,7 +28,8 @@ __copysign (double __x, double __y)
 extern __inline double
 fabs (double __x)
 {
-  return __copysign (0, __x);
+  __asm ("cpys $f31, %1, %0" : "=f" (__x) : "f" (__x));
+  return __x;
 }
 
 #endif