]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Formerly alpha/__math.h.~2~
authorRoland McGrath <roland@gnu.org>
Wed, 25 Nov 1992 19:06:14 +0000 (19:06 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 25 Nov 1992 19:06:14 +0000 (19:06 +0000)
sysdeps/alpha/__math.h

index e9893f5e4fd07f1412fed35d1fbeca31d19b8353..70a2cbe542aa5d3f7205210ab858b66cc3f97cca 100644 (file)
@@ -18,11 +18,17 @@ Cambridge, MA 02139, USA.  */
 
 #if defined (__GNUC__) && !defined (__NO_MATH_INLINES)
 
-extern __inline
+extern __inline double
 __copysign (double __x, double __y)
 {
   __asm ("cpys %1, %2, %0" : "=f" (__x) : "f" (__y), "f" (__x));
   return __x;
 }
 
+extern __inline double
+fabs (double __x)
+{
+  return __copysign (0, __x);
+}
+
 #endif