[PATCH 2/4] Macroize inclusion of math-finite.h (part 2)

Joseph Myers joseph@codesourcery.com
Tue Mar 21 18:20:00 GMT 2017


On Mon, 13 Mar 2017, Gabriel F. T. Gomes wrote:

> I could not come up with a more clever way to declare __lgammal_r_finite when
> __NO_LONG_DOUBLE_MATH is set.

It should be OK to use __REDIRECT_NTH when the asm name used is the same 
name the function would have had anyway.  So declare __lgamma*_r_finite 
using __MATH_REDIRCALL_2 (__lgamma, _r_finite, (_Mdouble_, int *), lgamma) 
or similar.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list