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:
parent
1b70d38ab5
commit
e2f7514753
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user