builtins.c (expand_builtin_mathfn): Expand nearbyint as rint in case -fno-trapping...
[gcc.git] / gcc / testsuite / gcc.target / i386 / math-torture / nearbyint.c
1 /* { dg-do assemble } */
2
3 float testlf (float x)
4 {
5 return __builtin_nearbyintf (x);
6 }
7 double testl (double x)
8 {
9 return __builtin_nearbyint (x);
10 }
11 long double testll (long double x)
12 {
13 return __builtin_nearbyintl (x);
14 }
15