921e5a0eb4
From-SVN: r14840
26 lines
270 B
C
26 lines
270 B
C
long double
|
|
f (d, i)
|
|
long double d;
|
|
int i;
|
|
{
|
|
long double e;
|
|
|
|
d = -d;
|
|
e = d;
|
|
if (i == 1)
|
|
d *= 2;
|
|
d -= e * d;
|
|
d -= e * d;
|
|
d -= e * d;
|
|
d -= e * d;
|
|
d -= e * d;
|
|
return d;
|
|
}
|
|
|
|
main ()
|
|
{
|
|
if (! (int) (f (2.0L, 1)))
|
|
abort ();
|
|
exit (0);
|
|
}
|