This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]