1 /* Copyright (C) 2005 Free Software Foundation.
3 Check that (long)floor, (long)floorf, (long)floorl,
4 (long long)floor, (long long)floorf and (long long)floorl
5 built-in functions compile.
7 Written by Uros Bizjak, 5th April 2005. */
9 /* { dg-do compile } */
10 /* { dg-options "-O2 -ffast-math" } */
12 extern double floor(double);
13 extern float floorf(float);
14 extern long double floorl(long double);
17 long int test1(double x)
22 long long int test2(double x)
27 long int test1f(float x)
32 long long int test2f(float x)
37 long int test1l(long double x)
42 long long int test2l(long double x)