1 /* PR tree-optimization/56424 */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fexceptions -fnon-call-exceptions" } */
6 extern long double cosl (long double);
7 extern long double sinl (long double);
8 extern long double reml (long double, long double);
10 long double my_cos (long double arg
)
15 long double my_sin (long double arg
)
17 if (__builtin_fabs (arg
) < 1.0)
23 long double my_cot (long double arg
, long double cycle
)
25 long double t
= reml (arg
, cycle
);
26 return my_cos (t
) / my_sin (t
);
29 long double my_tan (long double arg
, long double cycle
)
31 long double t
= reml (arg
, cycle
);
32 return my_sin (t
) / my_cos (t
);