summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/math-torture/nearbyint.c
blob: dd646f01235082e355e4ce5e5033f0338079dc8d (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_nearbyintf (x);
}
double testl (double x)
{
  return __builtin_nearbyint (x);
}
long double testll (long double x)
{
  return __builtin_nearbyintl (x);
}