This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enhance testsuite c-torture test
- From: Jonathan Lennox <lennox at cs dot columbia dot edu>
- To: "David S. Miller" <davem at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 12 May 2002 21:16:07 -0400
- Subject: Re: Enhance testsuite c-torture test
David S. Miller wrote:
> +int
> +ldnear (double x, double y)
> +{
> + double t = x - y;
> + return t == 0 || x / t > 100000000000000000000000000000000.0;
> +}
Shouldn't the arguments to this function, and the local variable, be 'long
double' rather than 'double'? This looks like a copy-and-paste error from
dnear immediately above.
--
Jonathan Lennox
lennox@cs.columbia.edu