Formerly m68k/fpu/atan2.c.~4~
authorRoland McGrath <roland@gnu.org>
Fri, 1 May 1992 18:36:53 +0000 (18:36 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 1 May 1992 18:36:53 +0000 (18:36 +0000)
sysdeps/m68k/fpu/atan2.c

index 1dfffe7..7860178 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,8 @@ Cambridge, MA 02139, USA.  */
 #include <ansidecl.h>
 #include <math.h>
 
+#ifdef __GNUC__
+
 static CONST double 
 PIo4   =  7.8539816339744827900E-1    , /*Hex  2^ -1   *  1.921FB54442D18 */
 PIo2   =  1.5707963267948965580E0     , /*Hex  2^  0   *  1.921FB54442D18 */
@@ -66,3 +68,7 @@ DEFUN(atan2, (y, x), double y AND double x)
 
   return __copysign(atan(y / x), signy);
 }
+
+#else
+#include <sysdeps/ieee754/atan2.c>
+#endif