]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 70a2cbe542aa5d3f7205210ab858b66cc3f97cca..5461fca2ac9abf6fba69d3bddd950990d9c6b594 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