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] Build s_nan* objects from a generic template


On Wed, 14 Sep 2016, Paul E. Murphy wrote:

> This requires adding a macro to synthesize the call
> to __strto*_nan.  Since this is likely to be the only
> usage ever for strto* functions in generated libm
> calls, a dedicated macro is defined for it.
> 
> 	* math/Makefile (libm-calls): Remove s_nanF.
> 	(gen-libm-calls): Add s_nanF.
> 
> 	* math/s_nan.c: Refactor into ...
> 	* math/s_nan_template.c: New file.
> 
> 	* math/s_nanf.c: Removed.
> 	* math/s_nanl.c: Removed.
> 	* sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
> 	* sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
> 
> 	* sysdeps/generic/math-type-macros-double.h:
> 	(M_STRTO_NAN): New macro.
> 	* sysdeps/generic/math-type-macros-float.h: Likewise.
> 	* sysdeps/generic/math-type-macros-ldouble.h: Likewise.
> 
> 	* sysdeps/generic/math-type-macros.h: Document
> 	M_STRTO_NAN.

OK.

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