7 # $2 = source file-name
8 # $3 = destination file-name
9 echo "$1 $libm_dir/$2 $3"
14 # $2 = source file-name
15 # $3 = destination file-name
16 echo "$1 $libm_dir/$2 $3"
31 import_c scalblnf scalblnf.c s_scalblnf.c
33 for f
in acos acosh asin atanh cosh exp2 exp10 fmod log2 pow remainder \
36 import
$f$t $f$t.s e_
$f$t.S
40 for f
in atan2 exp
; do
42 import
$f$t $f$t.s e_
$f$t.S
45 import
"atan" atan.s s_atan.S
46 import
"atanf" atanf.s s_atanf.S
47 import
"atan(2)?l" atanl.s s_atanl.S
48 import
"exp(m1)?l" expl_m1.s s_expm1l.S
51 import
"log(10)?$t" log
$t.s e_log
$t.S
52 import tgamma
$t tgamma
$t.s w_tgamma
$t.S
53 import
"(hypot|cabs)$t" hypot
$t.s e_hypot
$t.S
56 for f
in asinh cbrt ceil erf erfc fabs floor \
57 ilogb log1p logb modf nearbyint nextafter nexttoward \
58 rint round significand fdim fma fmax tanh trunc
; do
60 import
$f$t $f$t.s s_
$f$t.S
65 import
"(tan|cot)$t" tancot
$t.s s_tan
$t.S
69 import
"(sin|cos)$t" sincos
$t.s s_cos
$t.S
70 import_c frexp
$t frexp
$t.c s_frexp
$t.c
71 import_c ldexp
$t ldexp
$t.c s_ldexp
$t.c
72 import_c scalbn
$t scalbn
$t.c s_scalbn
$t.c
75 import expm1 exp_m1.s s_expm1.S
76 import expm1f expf_m1.s s_expm1f.S
78 for f
in frexp frexpf frexpl reduce
; do
79 import __libm_
$f libm_
$f.s libm_
$f.S
83 import __libm_ldexp
$t libm_ldexp
$t.s s_libm_ldexp
$t.S
84 import
"(__libm_)?(sincos|cis)$t" libm_sincos
$t.s libm_sincos
$t.S
85 import __libm_lgamma
$t libm_lgamma
$t.s libm_lgamma
$t.S
86 import __libm_scalbn
$t libm_scalbn
$t.s s_libm_scalbn
$t.S
88 import __libm_scalblnf libm_scalblnf.s libm_scalblnf.S
89 import
"__libm_(sin|cos|sincos)_large" libm_sincos_large.s \