summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/math-torture/round.c
blob: fddac7abbe52f1bc07828903b9ad265625386e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do assemble } */

float testlf (float x)
{
  return __builtin_roundf (x);
}
double testl (double x)
{
  return __builtin_round (x);
}
long double testll (long double x)
{
  return __builtin_roundl (x);
}