conversion.c (ldnear): Use long double types.

2002-05-12  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/conversion.c (ldnear): Use long double
	types.

From-SVN: r53407
This commit is contained in:
David S. Miller 2002-05-12 19:24:12 -07:00 committed by David S. Miller
parent 1b70d38ab5
commit e2f7514753
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-05-12 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/conversion.c (ldnear): Use long double
types.
2002-05-10 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020510-1.c: New test case.

View File

@ -65,9 +65,9 @@ dnear (double x, double y)
}
int
ldnear (double x, double y)
ldnear (long double x, long double y)
{
double t = x - y;
long double t = x - y;
return t == 0 || x / t > 100000000000000000000000000000000.0;
}