This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Make w_scalbln type-generic


On Thu, 15 Dec 2016 21:23:47 +0000
Joseph Myers <joseph@codesourcery.com> wrote:

> On Thu, 15 Dec 2016, Gabriel F. T. Gomes wrote:
> 
> > +FLOAT
> > +M_DECL_FUNC (__w_scalbln) (FLOAT x, long int n)
> > +{
> > +  if (!isfinite (x) || x == 0.0)
> > +    return x + x;
> > +
> > +  x = M_SUF (__scalbln) (x, n);
> > +
> > +  if (!isfinite (x) || x == 0.0)  
> 
> In both places where you have 0.0 you should have integer 0 in the 
> type-generic template.
> 
> OK with that change.
> 

Thanks.  Pushed with the change as e4d6a8356547.


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