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


On Wed, 20 Jun 2018, Tulio Magno Quites Machado Filho wrote:

> > just a new w_scalb (with the compat files having all their contents become
> > conditional on LIBM_SVID_COMPAT).
> 
> float, double and long double define __USE_WRAPPER_TEMPLATE as:
> #define __USE_WRAPPER_TEMPLATE !LIBM_SVID_COMPAT
> 
> So, I guess the current code is already covering this part.
> Am I missing something?

At present, w_scalb_compat is used both for shared and static libm, for 
both old and new ports.

The proposed state is it would become more like the other w_*_compat 
files, which only build any code for shared libm for old ports - all the 
code in the files would be conditional on LIBM_SVID_COMPAT, so that static 
libm and new ports would end up using w_scalb instead (as would float128).

-- 
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]