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

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

libm_ifunc (atan, HAS_FMA4 ? __atan_fma4 : __atan_sse2);

# define atan __atan_sse2
#endif


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