Make w_scalbln type-generic
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 9 Dec 2016 19:08:14 +0000 (17:08 -0200)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 16 Dec 2016 10:44:19 +0000 (08:44 -0200)
commite4d6a83565479c533aabae9046377a59712a5b22
treec941a9ff0c4e409fc1848cd0ce1befbd396b4140
parent0a2546cdaa4284cc6ed6af06835fd858ba341838
Make w_scalbln type-generic

This patch converts the wrapper scalbln (which set errno directly
rather than doing anything with __kernel_standard) to use the
type-generic template machinery, in the same way that has been done
for ldexp.

Tested for powerpc64le, s390, and x86_64.
ChangeLog
math/Makefile
math/w_scalbln_template.c [moved from math/w_scalbln.c with 72% similarity]
math/w_scalblnf.c [deleted file]
math/w_scalblnl.c [deleted file]
sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c [deleted file]
sysdeps/ieee754/ldbl-64-128/w_scalblnl.c