From 3ebab9ee234273cba06a488b5acabc3cb6538d5b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 7 May 2001 08:39:40 +0000 Subject: Update. 2001-05-07 Andreas Jaeger * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead of @LIBDIR@. 2001-05-04 H.J. Lu * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@ not @LIBDIR@. --- sysdeps/i386/fpu/e_atan2l.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sysdeps/i386/fpu/e_atan2l.c (limited to 'sysdeps/i386/fpu/e_atan2l.c') diff --git a/sysdeps/i386/fpu/e_atan2l.c b/sysdeps/i386/fpu/e_atan2l.c new file mode 100644 index 0000000000..19a2a60621 --- /dev/null +++ b/sysdeps/i386/fpu/e_atan2l.c @@ -0,0 +1,18 @@ +/* + * Written by J.T. Conklin . + * Public domain. + * + * Adapted for `long double' by Ulrich Drepper . + */ + +#include + +long double +__ieee754_atan2l (long double y, long double x) +{ + long double res; + + asm ("fpatan" : "=t" (res) : "u" (y), "0" (x) : "st(1)"); + + return res; +} -- cgit 1.4.1