summaryrefslogtreecommitdiff
path: root/libc/sysdeps/x86_64/fpu/multiarch/s_tan.c
blob: cca02b54de6086033f404ff647928e428a5ae559 (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 __tan_sse2 (double);
extern double __tan_fma4 (double);

libm_ifunc (tan, HAS_FMA4 ? __tan_fma4 : __tan_sse2);

# define tan __tan_sse2
#endif


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