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