From: Roland McGrath Date: Fri, 1 May 1992 18:36:53 +0000 (+0000) Subject: Formerly m68k/fpu/atan2.c.~4~ X-Git-Tag: upstream/2.30~10627^2~4362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=549628790598e52af5e4c8dd94b478e21e701962;p=external%2Fglibc.git Formerly m68k/fpu/atan2.c.~4~ --- diff --git a/sysdeps/m68k/fpu/atan2.c b/sysdeps/m68k/fpu/atan2.c index 1dfffe7..7860178 100644 --- a/sysdeps/m68k/fpu/atan2.c +++ b/sysdeps/m68k/fpu/atan2.c @@ -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 #include +#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 +#endif