repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pch
/
inline-3.hs
blob
ef2819ace7fc7ea0e343f4ad487b3749578e1cb0
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
));
7
}