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: [patch] Fix builtin-explog-1.c.


Hi Andreas,

> > -#define PREC  0.0000001
> > +#define PREC  (sizeof (float) > sizeof (double) ? 0.0000001 : PRECF)
> 
> I think you got that backwards.

Oops.  Thanks for pointing out.  If sizeof (float) == sizeof (double),
the testcase "appears" to work.  Whee.

Kazu Hirata


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