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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990127-2.c
blob
0d0f495124adfc2658d4f73c3fce1b7804887e6b
1
void
2
fpEq
(
double
x
,
double
y
)
3
{
4
if
(
x
!=
y
)
5
abort
();
6
}
7
8
void
9
fpTest
(
double
x
,
double
y
)
10
{
11
double
result1
= (
35.7
*
100.0
) /
45.0
;
12
double
result2
= (
x
*
100.0
) /
y
;
13
fpEq
(
result1
,
result2
);
14
}
15
16
main
()
17
{
18
fpTest
(
35.7
,
45.0
);
19
exit
(
0
);
20
}