diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 18 | ||||
-rw-r--r-- | math/w_acos_compat.c (renamed from math/w_acos.c) | 0 | ||||
-rw-r--r-- | math/w_acosf_compat.c (renamed from math/w_acosf.c) | 0 | ||||
-rw-r--r-- | math/w_acosh_compat.c (renamed from math/w_acosh.c) | 0 | ||||
-rw-r--r-- | math/w_acoshf_compat.c (renamed from math/w_acoshf.c) | 0 | ||||
-rw-r--r-- | math/w_acoshl_compat.c (renamed from math/w_acoshl.c) | 0 | ||||
-rw-r--r-- | math/w_acosl_compat.c (renamed from math/w_acosl.c) | 0 | ||||
-rw-r--r-- | math/w_asin_compat.c (renamed from math/w_asin.c) | 0 | ||||
-rw-r--r-- | math/w_asinf_compat.c (renamed from math/w_asinf.c) | 0 | ||||
-rw-r--r-- | math/w_asinl_compat.c (renamed from math/w_asinl.c) | 0 | ||||
-rw-r--r-- | math/w_atan2_compat.c (renamed from math/w_atan2.c) | 0 | ||||
-rw-r--r-- | math/w_atan2f_compat.c (renamed from math/w_atan2f.c) | 0 | ||||
-rw-r--r-- | math/w_atan2l_compat.c (renamed from math/w_atan2l.c) | 0 | ||||
-rw-r--r-- | math/w_atanh_compat.c (renamed from math/w_atanh.c) | 0 | ||||
-rw-r--r-- | math/w_atanhf_compat.c (renamed from math/w_atanhf.c) | 0 | ||||
-rw-r--r-- | math/w_atanhl_compat.c (renamed from math/w_atanhl.c) | 0 | ||||
-rw-r--r-- | math/w_cosh_compat.c (renamed from math/w_cosh.c) | 0 | ||||
-rw-r--r-- | math/w_coshf_compat.c (renamed from math/w_coshf.c) | 0 | ||||
-rw-r--r-- | math/w_coshl_compat.c (renamed from math/w_coshl.c) | 0 | ||||
-rw-r--r-- | math/w_exp10_compat.c (renamed from math/w_exp10.c) | 0 | ||||
-rw-r--r-- | math/w_exp10f_compat.c (renamed from math/w_exp10f.c) | 0 | ||||
-rw-r--r-- | math/w_exp10l_compat.c (renamed from math/w_exp10l.c) | 0 | ||||
-rw-r--r-- | math/w_exp2_compat.c (renamed from math/w_exp2.c) | 0 | ||||
-rw-r--r-- | math/w_exp2f_compat.c (renamed from math/w_exp2f.c) | 0 | ||||
-rw-r--r-- | math/w_exp2l_compat.c (renamed from math/w_exp2l.c) | 0 | ||||
-rw-r--r-- | math/w_fmod_compat.c (renamed from math/w_fmod.c) | 0 | ||||
-rw-r--r-- | math/w_fmodf_compat.c (renamed from math/w_fmodf.c) | 0 | ||||
-rw-r--r-- | math/w_fmodl_compat.c (renamed from math/w_fmodl.c) | 0 | ||||
-rw-r--r-- | math/w_hypot_compat.c (renamed from math/w_hypot.c) | 0 | ||||
-rw-r--r-- | math/w_hypotf_compat.c (renamed from math/w_hypotf.c) | 0 | ||||
-rw-r--r-- | math/w_hypotl_compat.c (renamed from math/w_hypotl.c) | 0 | ||||
-rw-r--r-- | math/w_j0_compat.c (renamed from math/w_j0.c) | 0 | ||||
-rw-r--r-- | math/w_j0f_compat.c (renamed from math/w_j0f.c) | 0 | ||||
-rw-r--r-- | math/w_j0l_compat.c (renamed from math/w_j0l.c) | 0 | ||||
-rw-r--r-- | math/w_j1_compat.c (renamed from math/w_j1.c) | 0 | ||||
-rw-r--r-- | math/w_j1f_compat.c (renamed from math/w_j1f.c) | 0 | ||||
-rw-r--r-- | math/w_j1l_compat.c (renamed from math/w_j1l.c) | 0 | ||||
-rw-r--r-- | math/w_jn_compat.c (renamed from math/w_jn.c) | 0 | ||||
-rw-r--r-- | math/w_jnf_compat.c (renamed from math/w_jnf.c) | 0 | ||||
-rw-r--r-- | math/w_jnl_compat.c (renamed from math/w_jnl.c) | 0 | ||||
-rw-r--r-- | math/w_log10_compat.c (renamed from math/w_log10.c) | 0 | ||||
-rw-r--r-- | math/w_log10f_compat.c (renamed from math/w_log10f.c) | 0 | ||||
-rw-r--r-- | math/w_log10l_compat.c (renamed from math/w_log10l.c) | 0 | ||||
-rw-r--r-- | math/w_log2_compat.c (renamed from math/w_log2.c) | 0 | ||||
-rw-r--r-- | math/w_log2f_compat.c (renamed from math/w_log2f.c) | 0 | ||||
-rw-r--r-- | math/w_log2l_compat.c (renamed from math/w_log2l.c) | 0 | ||||
-rw-r--r-- | math/w_log_compat.c (renamed from math/w_log.c) | 0 | ||||
-rw-r--r-- | math/w_logf_compat.c (renamed from math/w_logf.c) | 0 | ||||
-rw-r--r-- | math/w_logl_compat.c (renamed from math/w_logl.c) | 0 | ||||
-rw-r--r-- | math/w_pow_compat.c (renamed from math/w_pow.c) | 0 | ||||
-rw-r--r-- | math/w_powf_compat.c (renamed from math/w_powf.c) | 0 | ||||
-rw-r--r-- | math/w_powl_compat.c (renamed from math/w_powl.c) | 0 | ||||
-rw-r--r-- | math/w_remainder_compat.c (renamed from math/w_remainder.c) | 0 | ||||
-rw-r--r-- | math/w_remainderf_compat.c (renamed from math/w_remainderf.c) | 0 | ||||
-rw-r--r-- | math/w_remainderl_compat.c (renamed from math/w_remainderl.c) | 0 | ||||
-rw-r--r-- | math/w_scalb_compat.c (renamed from math/w_scalb.c) | 0 | ||||
-rw-r--r-- | math/w_scalbf_compat.c (renamed from math/w_scalbf.c) | 0 | ||||
-rw-r--r-- | math/w_scalbl_compat.c (renamed from math/w_scalbl.c) | 0 | ||||
-rw-r--r-- | math/w_sinh_compat.c (renamed from math/w_sinh.c) | 0 | ||||
-rw-r--r-- | math/w_sinhf_compat.c (renamed from math/w_sinhf.c) | 0 | ||||
-rw-r--r-- | math/w_sinhl_compat.c (renamed from math/w_sinhl.c) | 0 | ||||
-rw-r--r-- | math/w_sqrt_compat.c (renamed from math/w_sqrt.c) | 0 | ||||
-rw-r--r-- | math/w_sqrtf_compat.c (renamed from math/w_sqrtf.c) | 0 | ||||
-rw-r--r-- | math/w_sqrtl_compat.c (renamed from math/w_sqrtl.c) | 0 | ||||
-rw-r--r-- | math/w_tgamma_compat.c (renamed from math/w_tgamma.c) | 0 | ||||
-rw-r--r-- | math/w_tgammaf_compat.c (renamed from math/w_tgammaf.c) | 0 | ||||
-rw-r--r-- | math/w_tgammal_compat.c (renamed from math/w_tgammal.c) | 0 |
67 files changed, 13 insertions, 5 deletions
diff --git a/math/Makefile b/math/Makefile index d15b58e..0ee4648 100644 --- a/math/Makefile +++ b/math/Makefile @@ -65,19 +65,26 @@ libm-calls = \ s_ceilF s_cosF s_erfF s_expm1F s_fabsF \ s_floorF s_log1pF s_logbF \ s_nextafterF s_nexttowardF s_rintF s_scalblnF \ - s_significandF s_sinF s_tanF s_tanhF w_acosF w_acoshF w_asinF \ - w_atan2F w_atanhF w_coshF w_expF w_exp2F w_exp10F w_fmodF \ - w_tgammaF w_hypotF w_j0F w_j1F w_jnF w_lgammaF w_lgammaF_r \ - w_logF w_log10F w_powF w_remainderF w_scalbF w_sinhF w_sqrtF \ + s_significandF s_sinF s_tanF s_tanhF \ + w_expF \ + w_lgammaF w_lgammaF_r \ s_fpclassifyF s_truncF \ s_remquoF e_log2F e_exp2F s_roundF s_nearbyintF s_sincosF \ - s_fmaF s_lrintF s_llrintF s_lroundF s_llroundF e_exp10F w_log2F \ + s_fmaF s_lrintF s_llrintF s_lroundF s_llroundF e_exp10F \ s_issignalingF $(calls:s_%=m_%) x2y2m1F \ gamma_productF lgamma_negF lgamma_productF \ s_nextupF s_totalorderF s_totalordermagF s_getpayloadF \ s_setpayloadF s_setpayloadsigF s_roundevenF s_fromfpF s_ufromfpF \ s_fromfpxF s_ufromfpxF $(gen-libm-calls) +libm-compat-calls-auto = \ + w_acosF_compat w_acoshF_compat w_asinF_compat w_atan2F_compat \ + w_atanhF_compat w_coshF_compat w_exp2F_compat w_exp10F_compat \ + w_fmodF_compat w_hypotF_compat w_j0F_compat w_j1F_compat \ + w_jnF_compat w_log2F_compat w_log10F_compat w_logF_compat \ + w_powF_compat w_remainderF_compat w_scalbF_compat \ + w_sinhF_compat w_sqrtF_compat w_tgammaF_compat + libm-compat-calls-ldouble-yes = w_lgamma_compatl k_standardl libm-compat-calls = w_lgamma_compatf w_lgamma_compat k_standard k_standardf \ $(libm-compat-calls-ldouble-$(long-double-fcts)) @@ -116,6 +123,7 @@ type-float-routines := k_rem_pio2f type-foreach = $(foreach t,$(types),$(subst F,$(type-$(t)-suffix),$(1))) libm-routines = $(strip $(libm-support) $(libm-compat-calls) \ + $(call type-foreach, $(libm-compat-calls-auto)) \ $(call type-foreach, $(libm-calls)) \ $(foreach t, $(types), $(type-$(t)-routines))) \ diff --git a/math/w_acos.c b/math/w_acos_compat.c index e6fbdf1..e6fbdf1 100644 --- a/math/w_acos.c +++ b/math/w_acos_compat.c diff --git a/math/w_acosf.c b/math/w_acosf_compat.c index f389da1..f389da1 100644 --- a/math/w_acosf.c +++ b/math/w_acosf_compat.c diff --git a/math/w_acosh.c b/math/w_acosh_compat.c index 286ea86..286ea86 100644 --- a/math/w_acosh.c +++ b/math/w_acosh_compat.c diff --git a/math/w_acoshf.c b/math/w_acoshf_compat.c index 801a52e..801a52e 100644 --- a/math/w_acoshf.c +++ b/math/w_acoshf_compat.c diff --git a/math/w_acoshl.c b/math/w_acoshl_compat.c index 310f3c9..310f3c9 100644 --- a/math/w_acoshl.c +++ b/math/w_acoshl_compat.c diff --git a/math/w_acosl.c b/math/w_acosl_compat.c index eaccc66..eaccc66 100644 --- a/math/w_acosl.c +++ b/math/w_acosl_compat.c diff --git a/math/w_asin.c b/math/w_asin_compat.c index b2ad632..b2ad632 100644 --- a/math/w_asin.c +++ b/math/w_asin_compat.c diff --git a/math/w_asinf.c b/math/w_asinf_compat.c index 0d0ee98..0d0ee98 100644 --- a/math/w_asinf.c +++ b/math/w_asinf_compat.c diff --git a/math/w_asinl.c b/math/w_asinl_compat.c index a02fa1e..a02fa1e 100644 --- a/math/w_asinl.c +++ b/math/w_asinl_compat.c diff --git a/math/w_atan2.c b/math/w_atan2_compat.c index cceb602..cceb602 100644 --- a/math/w_atan2.c +++ b/math/w_atan2_compat.c diff --git a/math/w_atan2f.c b/math/w_atan2f_compat.c index 8343893..8343893 100644 --- a/math/w_atan2f.c +++ b/math/w_atan2f_compat.c diff --git a/math/w_atan2l.c b/math/w_atan2l_compat.c index b7b29ff..b7b29ff 100644 --- a/math/w_atan2l.c +++ b/math/w_atan2l_compat.c diff --git a/math/w_atanh.c b/math/w_atanh_compat.c index 456dcb3..456dcb3 100644 --- a/math/w_atanh.c +++ b/math/w_atanh_compat.c diff --git a/math/w_atanhf.c b/math/w_atanhf_compat.c index dd14145..dd14145 100644 --- a/math/w_atanhf.c +++ b/math/w_atanhf_compat.c diff --git a/math/w_atanhl.c b/math/w_atanhl_compat.c index 37e8da5..37e8da5 100644 --- a/math/w_atanhl.c +++ b/math/w_atanhl_compat.c diff --git a/math/w_cosh.c b/math/w_cosh_compat.c index 0771434..0771434 100644 --- a/math/w_cosh.c +++ b/math/w_cosh_compat.c diff --git a/math/w_coshf.c b/math/w_coshf_compat.c index dc7fb53..dc7fb53 100644 --- a/math/w_coshf.c +++ b/math/w_coshf_compat.c diff --git a/math/w_coshl.c b/math/w_coshl_compat.c index 27f0a4f..27f0a4f 100644 --- a/math/w_coshl.c +++ b/math/w_coshl_compat.c diff --git a/math/w_exp10.c b/math/w_exp10_compat.c index 1ba9279..1ba9279 100644 --- a/math/w_exp10.c +++ b/math/w_exp10_compat.c diff --git a/math/w_exp10f.c b/math/w_exp10f_compat.c index 7993945..7993945 100644 --- a/math/w_exp10f.c +++ b/math/w_exp10f_compat.c diff --git a/math/w_exp10l.c b/math/w_exp10l_compat.c index 2734468..2734468 100644 --- a/math/w_exp10l.c +++ b/math/w_exp10l_compat.c diff --git a/math/w_exp2.c b/math/w_exp2_compat.c index ca17f9e..ca17f9e 100644 --- a/math/w_exp2.c +++ b/math/w_exp2_compat.c diff --git a/math/w_exp2f.c b/math/w_exp2f_compat.c index 61cbd6c..61cbd6c 100644 --- a/math/w_exp2f.c +++ b/math/w_exp2f_compat.c diff --git a/math/w_exp2l.c b/math/w_exp2l_compat.c index 47aed3c..47aed3c 100644 --- a/math/w_exp2l.c +++ b/math/w_exp2l_compat.c diff --git a/math/w_fmod.c b/math/w_fmod_compat.c index 746550a..746550a 100644 --- a/math/w_fmod.c +++ b/math/w_fmod_compat.c diff --git a/math/w_fmodf.c b/math/w_fmodf_compat.c index 45ece58..45ece58 100644 --- a/math/w_fmodf.c +++ b/math/w_fmodf_compat.c diff --git a/math/w_fmodl.c b/math/w_fmodl_compat.c index 1f385bd..1f385bd 100644 --- a/math/w_fmodl.c +++ b/math/w_fmodl_compat.c diff --git a/math/w_hypot.c b/math/w_hypot_compat.c index 7c662c8..7c662c8 100644 --- a/math/w_hypot.c +++ b/math/w_hypot_compat.c diff --git a/math/w_hypotf.c b/math/w_hypotf_compat.c index 0ecacae..0ecacae 100644 --- a/math/w_hypotf.c +++ b/math/w_hypotf_compat.c diff --git a/math/w_hypotl.c b/math/w_hypotl_compat.c index c784fa2..c784fa2 100644 --- a/math/w_hypotl.c +++ b/math/w_hypotl_compat.c diff --git a/math/w_j0.c b/math/w_j0_compat.c index e7b56f2..e7b56f2 100644 --- a/math/w_j0.c +++ b/math/w_j0_compat.c diff --git a/math/w_j0f.c b/math/w_j0f_compat.c index 34220b9..34220b9 100644 --- a/math/w_j0f.c +++ b/math/w_j0f_compat.c diff --git a/math/w_j0l.c b/math/w_j0l_compat.c index e03fa1d..e03fa1d 100644 --- a/math/w_j0l.c +++ b/math/w_j0l_compat.c diff --git a/math/w_j1.c b/math/w_j1_compat.c index efbe8df..efbe8df 100644 --- a/math/w_j1.c +++ b/math/w_j1_compat.c diff --git a/math/w_j1f.c b/math/w_j1f_compat.c index 7558685..7558685 100644 --- a/math/w_j1f.c +++ b/math/w_j1f_compat.c diff --git a/math/w_j1l.c b/math/w_j1l_compat.c index f35261d..f35261d 100644 --- a/math/w_j1l.c +++ b/math/w_j1l_compat.c diff --git a/math/w_jn.c b/math/w_jn_compat.c index 9321bf5..9321bf5 100644 --- a/math/w_jn.c +++ b/math/w_jn_compat.c diff --git a/math/w_jnf.c b/math/w_jnf_compat.c index 9752b2a..9752b2a 100644 --- a/math/w_jnf.c +++ b/math/w_jnf_compat.c diff --git a/math/w_jnl.c b/math/w_jnl_compat.c index d17b047..d17b047 100644 --- a/math/w_jnl.c +++ b/math/w_jnl_compat.c diff --git a/math/w_log10.c b/math/w_log10_compat.c index 9704ba9..9704ba9 100644 --- a/math/w_log10.c +++ b/math/w_log10_compat.c diff --git a/math/w_log10f.c b/math/w_log10f_compat.c index f8921fe..f8921fe 100644 --- a/math/w_log10f.c +++ b/math/w_log10f_compat.c diff --git a/math/w_log10l.c b/math/w_log10l_compat.c index cfb514a..cfb514a 100644 --- a/math/w_log10l.c +++ b/math/w_log10l_compat.c diff --git a/math/w_log2.c b/math/w_log2_compat.c index b8e842d..b8e842d 100644 --- a/math/w_log2.c +++ b/math/w_log2_compat.c diff --git a/math/w_log2f.c b/math/w_log2f_compat.c index 357cc0a..357cc0a 100644 --- a/math/w_log2f.c +++ b/math/w_log2f_compat.c diff --git a/math/w_log2l.c b/math/w_log2l_compat.c index 3d9994e..3d9994e 100644 --- a/math/w_log2l.c +++ b/math/w_log2l_compat.c diff --git a/math/w_log.c b/math/w_log_compat.c index 4b47069..4b47069 100644 --- a/math/w_log.c +++ b/math/w_log_compat.c diff --git a/math/w_logf.c b/math/w_logf_compat.c index 8b0f4fc..8b0f4fc 100644 --- a/math/w_logf.c +++ b/math/w_logf_compat.c diff --git a/math/w_logl.c b/math/w_logl_compat.c index 12afbe5..12afbe5 100644 --- a/math/w_logl.c +++ b/math/w_logl_compat.c diff --git a/math/w_pow.c b/math/w_pow_compat.c index 0e24b75..0e24b75 100644 --- a/math/w_pow.c +++ b/math/w_pow_compat.c diff --git a/math/w_powf.c b/math/w_powf_compat.c index 7e3b015..7e3b015 100644 --- a/math/w_powf.c +++ b/math/w_powf_compat.c diff --git a/math/w_powl.c b/math/w_powl_compat.c index 60a89c2..60a89c2 100644 --- a/math/w_powl.c +++ b/math/w_powl_compat.c diff --git a/math/w_remainder.c b/math/w_remainder_compat.c index 6644590..6644590 100644 --- a/math/w_remainder.c +++ b/math/w_remainder_compat.c diff --git a/math/w_remainderf.c b/math/w_remainderf_compat.c index 1db246a..1db246a 100644 --- a/math/w_remainderf.c +++ b/math/w_remainderf_compat.c diff --git a/math/w_remainderl.c b/math/w_remainderl_compat.c index 2fc40f1..2fc40f1 100644 --- a/math/w_remainderl.c +++ b/math/w_remainderl_compat.c diff --git a/math/w_scalb.c b/math/w_scalb_compat.c index 8354115..8354115 100644 --- a/math/w_scalb.c +++ b/math/w_scalb_compat.c diff --git a/math/w_scalbf.c b/math/w_scalbf_compat.c index fe93f0a..fe93f0a 100644 --- a/math/w_scalbf.c +++ b/math/w_scalbf_compat.c diff --git a/math/w_scalbl.c b/math/w_scalbl_compat.c index 62645d4..62645d4 100644 --- a/math/w_scalbl.c +++ b/math/w_scalbl_compat.c diff --git a/math/w_sinh.c b/math/w_sinh_compat.c index 51daf2f..51daf2f 100644 --- a/math/w_sinh.c +++ b/math/w_sinh_compat.c diff --git a/math/w_sinhf.c b/math/w_sinhf_compat.c index 0e530b1..0e530b1 100644 --- a/math/w_sinhf.c +++ b/math/w_sinhf_compat.c diff --git a/math/w_sinhl.c b/math/w_sinhl_compat.c index 7df7c06..7df7c06 100644 --- a/math/w_sinhl.c +++ b/math/w_sinhl_compat.c diff --git a/math/w_sqrt.c b/math/w_sqrt_compat.c index 018da82..018da82 100644 --- a/math/w_sqrt.c +++ b/math/w_sqrt_compat.c diff --git a/math/w_sqrtf.c b/math/w_sqrtf_compat.c index de5b42d..de5b42d 100644 --- a/math/w_sqrtf.c +++ b/math/w_sqrtf_compat.c diff --git a/math/w_sqrtl.c b/math/w_sqrtl_compat.c index b4663b7..b4663b7 100644 --- a/math/w_sqrtl.c +++ b/math/w_sqrtl_compat.c diff --git a/math/w_tgamma.c b/math/w_tgamma_compat.c index 99b6029..99b6029 100644 --- a/math/w_tgamma.c +++ b/math/w_tgamma_compat.c diff --git a/math/w_tgammaf.c b/math/w_tgammaf_compat.c index dfce894..dfce894 100644 --- a/math/w_tgammaf.c +++ b/math/w_tgammaf_compat.c diff --git a/math/w_tgammal.c b/math/w_tgammal_compat.c index 50de8cf..50de8cf 100644 --- a/math/w_tgammal.c +++ b/math/w_tgammal_compat.c |