projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mark ebp output of leave as ignore
[libfirm]
/
ir
/
be
/
test
/
llvm
/
2003-05-21-UnionTest.c
1
#include <stdio.h>
2
3
int __signbit (double __x) {
4
union {
5
double __d;
6
int __i[3];
7
} __u = { __d: __x };
8
9
return __u.__i[1] < 0;
10
}
11
12
int main() {
13
printf("%d %d\n", __signbit(-1), __signbit(2.0));
14
return 0;
15
}