2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pch / inline-3.hs
blobef2819ace7fc7ea0e343f4ad487b3749578e1cb0
1 extern double rint(double);
2 extern double fmod (double, double);
3 static inline unsigned foo(double d) {
4 double a;
5 a = rint(d);
6 return (unsigned)(fmod(a, (double)0xFFFFFFFF) + ((d - a) * 0xFFFFFFFF));