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