summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/math-torture/rint.c
blob: f9dfff7caa0982d0b7bc81b7d64fb715f0ad4613 (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_rintf (x);
}
double testl (double x)
{
  return __builtin_rint (x);
}
long double testll (long double x)
{
  return __builtin_rintl (x);
}