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 6/6] Add a generic scalb implementation


On Tue, 11 Feb 2020, Paul E Murphy wrote:

> Tested on x86_64 and ppc64le.  I've also built/check-abi csky to verify the
> LIBM_SVID_COMPAT changes still generate the appropriate symbols for those
> arches not requiring the compat versions.

I think a complete build-many-glibcs build is appropriate here.  It's also 
important to verify that it's still the case that no scalbf128 is built - 
that on platforms with _Float128, all the *scalbf128* object files contain 
no code (via the sysdeps/ieee754/float128 versions taking precedence).

> > +/* Wrapper scalb */
> > +FLOAT
> > +M_DECL_FUNC (__scalb) (FLOAT x, FLOAT fn)
> > +{
> > +    {
> > +      FLOAT z = M_SUF (__ieee754_scalb) (x, fn);

The indentation seems wrong here, as well as having an unnecessary layer 
of braces.

Please repost the patch for review with these issues fixed and a more 
detailed commit message with some explanation of the patch and its 
motivation.

-- 
Joseph S. Myers
joseph@codesourcery.com


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