1 /* Copyright (C) 2004 Free Software Foundation.
3 Check sin, sinf, sinl, cos, cosf and cosl built-in functions
4 eventually compile to sincos, sincosf and sincosl.
6 Written by Uros Bizjak, 5th April 2004. */
8 /* { dg-do compile } */
9 /* { dg-options "-O2 -ffast-math" } */
11 extern double sin(double);
12 extern float sinf(float);
13 extern long double sinl(long double);
15 extern double cos(double);
16 extern float cosf(float);
17 extern long double cosl(long double);
20 double test1(double x
)
40 long double test1l(long double x
)
50 double test2(double x
)
60 long double test2l(long double x
)
65 double test3(double x
)
75 long double test3l(long double x
)