aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu/multiarch/s_tan.c
blob: 25f3bca07eedf90a8ef2adbc97bcccb40591a802 (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 __tan_sse2 (double);
extern double __tan_avx (double);
extern double __tan_fma4 (double);

libm_ifunc (tan, (HAS_ARCH_FEATURE (FMA4_Usable) ? __tan_fma4 :
		  HAS_ARCH_FEATURE (AVX_Usable)
		  ? __tan_avx : __tan_sse2));

#define tan __tan_sse2


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