Enhance testsuite c-torture test

Jonathan Lennox lennox@cs.columbia.edu
Sun May 12 21:09:00 GMT 2002


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






More information about the Gcc-patches mailing list