Back to index

glibc  2.9
e_atan2l.c
Go to the documentation of this file.
00001 /*
00002  * Written by J.T. Conklin <jtc@netbsd.org>.
00003  * Public domain.
00004  *
00005  * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
00006  */
00007 
00008 #include <math_private.h>
00009 
00010 long double
00011 __ieee754_atan2l (long double y, long double x)
00012 {
00013   long double res;
00014 
00015   asm ("fpatan" : "=t" (res) : "u" (y), "0" (x) : "st(1)");
00016 
00017   return res;
00018 }