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: Refactor strtod parsing of NaN payloads


On Tue, 24 Nov 2015, Florian Weimer wrote:

> On 11/21/2015 01:10 AM, Joseph Myers wrote:
> 
> > 	* include/stdlib.h (__strtof_nan): Declare and use
> > 	libc_hidden_proto.
> > 	(__strtod_nan): Likewise.
> > 	(__strtold_nan): Likewise.
> > 	(__wcstof_nan): Likewise.
> > 	(__wcstod_nan): Likewise.
> > 	(__wcstold_nan): Likewise.
> 
> This could be marked internal_function, I think (both the declaration
> and definition).

The point of this refactoring is so that a future change can call these 
(libc) functions from the nan* functions in libm.  I don't think 
internal_function is compatible with PLT calls from other libraries.

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