| 1 | #include <init-arch.h> |
|---|---|
| 2 | #include <math.h> |
| 3 | |
| 4 | extern double __tan_sse2 (double); |
| 5 | extern double __tan_avx (double); |
| 6 | extern double __tan_fma4 (double); |
| 7 | |
| 8 | libm_ifunc (tan, (HAS_ARCH_FEATURE (FMA4_Usable) ? __tan_fma4 : |
| 9 | HAS_ARCH_FEATURE (AVX_Usable) |
| 10 | ? __tan_avx : __tan_sse2)); |
| 11 | |
| 12 | #define tan __tan_sse2 |
| 13 | |
| 14 | |
| 15 | #include <sysdeps/ieee754/dbl-64/s_tan.c> |
| 16 |