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
2002-05-10 David S. Miller <davem@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990829-1.c
blob
82f8186459417cb8a0a02e6214befd036f4a7f88
1
double
test
(
const double
le
,
const double
ri
)
2
{
3
double
val
= (
ri
-
le
) / (
ri
* (
le
+
1.0
) );
4
return
val
;
5
}
6
7
int
main
()
8
{
9
double
retval
;
10
11
retval
=
test
(
1.0
,
2.0
);
12
if
(
retval
<
0.24
||
retval
>
0.26
)
13
abort
();
14
exit
(
0
);
15
}