On Wed, 7 Dec 2016 21:47:28 +0000 Joseph Myers wrote: > For log1p, I'd expect the template file to use -1 (or M_LIT (-1.0) in the > islessequal call) rather than the double value -1.0. And I'd hope that > you can remove the ldbl-128ibm/w_log1pl.c and ldbl-64-128/w_log1pl.c files > completely and the generated file will do the right thing automatically. I attached a new version with the suggested changes. > For scalbln, look at math/s_ldexp_template.c and the ldbl-opt s_ldexp* > files for an example - the issues are pretty similar. Thanks for the pointers. I am testing a patch for this part.