X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=lib%2Fcrtdll%2Fmath%2Fatan.c;h=af0e219e72843bce7eec0fa0dc5822b46556a8d4;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hp=853385b5f3a15349a7831d546c289cc3b7ca94ea;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3;p=reactos.git diff --git a/lib/crtdll/math/atan.c b/lib/crtdll/math/atan.c index 853385b..af0e219 100644 --- a/lib/crtdll/math/atan.c +++ b/lib/crtdll/math/atan.c @@ -18,15 +18,20 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include + double atan (double __x); double atan (double __x) { register double __value; +#ifdef __GNUC__ __asm __volatile__ ("fld1\n\t" "fpatan" : "=t" (__value) : "0" (__x)); - +#else + __value = linkme_atan(__x); +#endif /*__GNUC__*/ return __value; }