aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu/multiarch/s_atan.c
blob: 742e95cb96037c32d974a8152dd4175d75380086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <init-arch.h>
#include <math.h>

extern double __atan_sse2 (double);
extern double __atan_avx (double);
extern double __atan_fma4 (double);

libm_ifunc (atan, (HAS_ARCH_FEATURE (FMA4_Usable) ? __atan_fma4 :
		   HAS_ARCH_FEATURE (AVX_Usable)
		   ? __atan_avx : __atan_sse2));

#define atan __atan_sse2


#include <sysdeps/ieee754/dbl-64/s_atan.c>