summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pch/inline-3.hs
blob: ef2819ace7fc7ea0e343f4ad487b3749578e1cb0 (plain)
1
2
3
4
5
6
7
extern double rint(double);
extern double fmod (double, double);
static inline unsigned foo(double d) {
    double a;
    a = rint(d);
    return (unsigned)(fmod(a, (double)0xFFFFFFFF) + ((d - a) * 0xFFFFFFFF));
}