From 67271580c1271fd16e76db3374c8fe4d654a0563 Mon Sep 17 00:00:00 2001 From: bkoz Date: Tue, 6 Jun 2000 20:26:13 +0000 Subject: 2000-06-06 Steven King * acconfig.h: Added defines for HAVE_BUILTIN math functs for float, double and long double. Added defines for HAVE libm math functs for float and long double. * aclocal.m4: Added configure checks for builtin math funcs and libm support for float and long double versions of the math functions. * config.h.in: Added undefs for math functs. * configure: Regenerate. * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to _GLIBCPP_HAVE_BUILTIN_*. * bits/std_cmath.h: Added long double support. Use builtins for float, double and long if available, otherwise, use libm versions if availible, otherwise, punt. * shadow/bits/std_cmath.h: ditto git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34436 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/config.h.in | 561 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 546 insertions(+), 15 deletions(-) (limited to 'libstdc++-v3/config.h.in') diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 44af55539c8..8549b5a13ad 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -15,17 +15,194 @@ // Define if code specialized for wchar_t should be used. #undef _GLIBCPP_USE_WCHAR_T -// Define if the compiler/host combination has __builtin_sinf defined. -#undef _GLIBCPP_HAS_BUILTIN_SINF +// Define if the compiler/host combination has __builtin_acos +#undef HAVE_BUILTIN_ACOS -// Define if the compiler/host combination has __builtin_cosf defined. -#undef _GLIBCPP_HAS_BUILTIN_COSF +// Define if the compiler/host combination has __builtin_acosf +#undef HAVE_BUILTIN_ACOSF -// Define if the compiler/host combination has __builtin_fabsf defined. -#undef _GLIBCPP_HAS_BUILTIN_FABSF +// Define if the compiler/host combination has __builtin_acosl +#undef HAVE_BUILTIN_ACOSL -// Define if the compiler/host combination has __builtin_fabsf defined. -#undef _GLIBCPP_HAS_BUILTIN_SQRTF +// Define if the compiler/host combination has __builtin_asin +#undef HAVE_BUILTIN_ASIN + +// Define if the compiler/host combination has __builtin_asinf +#undef HAVE_BUILTIN_ASINF + +// Define if the compiler/host combination has __builtin_asinl +#undef HAVE_BUILTIN_ASINL + +// Define if the compiler/host combination has __builtin_atan +#undef HAVE_BUILTIN_ATAN + +// Define if the compiler/host combination has __builtin_atanf +#undef HAVE_BUILTIN_ATANF + +// Define if the compiler/host combination has __builtin_atanl +#undef HAVE_BUILTIN_ATANL + +// Define if the compiler/host combination has __builtin_atan2 +#undef HAVE_BUILTIN_ATAN2 + +// Define if the compiler/host combination has __builtin_atan2f +#undef HAVE_BUILTIN_ATAN2F + +// Define if the compiler/host combination has __builtin_atan2l +#undef HAVE_BUILTIN_ATAN2L + +// Define if the compiler/host combination has __builtin_ceil +#undef HAVE_BUILTIN_CEIL + +// Define if the compiler/host combination has __builtin_ceilf +#undef HAVE_BUILTIN_CEILF + +// Define if the compiler/host combination has __builtin_ceill +#undef HAVE_BUILTIN_CEILL + +// Define if the compiler/host combination has __builtin_cos +#undef HAVE_BUILTIN_COS + +// Define if the compiler/host combination has __builtin_cosf +#undef HAVE_BUILTIN_COSF + +// Define if the compiler/host combination has __builtin_cosl +#undef HAVE_BUILTIN_COSL + +// Define if the compiler/host combination has __builtin_cosh +#undef HAVE_BUILTIN_COSH + +// Define if the compiler/host combination has __builtin_coshf +#undef HAVE_BUILTIN_COSHF + +// Define if the compiler/host combination has __builtin_coshl +#undef HAVE_BUILTIN_COSHL + +// Define if the compiler/host combination has __builtin_exp +#undef HAVE_BUILTIN_EXP + +// Define if the compiler/host combination has __builtin_expf +#undef HAVE_BUILTIN_EXPF + +// Define if the compiler/host combination has __builtin_expl +#undef HAVE_BUILTIN_EXPL + +// Define if the compiler/host combination has __builtin_fabs +#undef HAVE_BUILTIN_FABS + +// Define if the compiler/host combination has __builtin_fabsf +#undef HAVE_BUILTIN_FABSF + +// Define if the compiler/host combination has __builtin_fabsl +#undef HAVE_BUILTIN_FABSL + +// Define if the compiler/host combination has __builtin_floor +#undef HAVE_BUILTIN_FLOOR + +// Define if the compiler/host combination has __builtin_floorf +#undef HAVE_BUILTIN_FLOORF + +// Define if the compiler/host combination has __builtin_floorl +#undef HAVE_BUILTIN_FLOORL + +// Define if the compiler/host combination has __builtin_frexp +#undef HAVE_BUILTIN_FREXP + +// Define if the compiler/host combination has __builtin_frexpf +#undef HAVE_BUILTIN_FREXPF + +// Define if the compiler/host combination has __builtin_frexpl +#undef HAVE_BUILTIN_FREXPL + +// Define if the compiler/host combination has __builtin_ldexp +#undef HAVE_BUILTIN_LDEXP + +// Define if the compiler/host combination has __builtin_ldexpf +#undef HAVE_BUILTIN_LDEXPF + +// Define if the compiler/host combination has __builtin_ldexpl +#undef HAVE_BUILTIN_LDEXPL + +// Define if the compiler/host combination has __builtin_log +#undef HAVE_BUILTIN_LOG + +// Define if the compiler/host combination has __builtin_logf +#undef HAVE_BUILTIN_LOGF + +// Define if the compiler/host combination has __builtin_logl +#undef HAVE_BUILTIN_LOGL + +// Define if the compiler/host combination has __builtin_log10 +#undef HAVE_BUILTIN_LOG10 + +// Define if the compiler/host combination has __builtin_log10f +#undef HAVE_BUILTIN_LOG10F + +// Define if the compiler/host combination has __builtin_log10l +#undef HAVE_BUILTIN_LOG10L + +// Define if the compiler/host combination has __builtin_modf +#undef HAVE_BUILTIN_MODF + +// Define if the compiler/host combination has __builtin_modff +#undef HAVE_BUILTIN_MODFF + +// Define if the compiler/host combination has __builtin_modfl +#undef HAVE_BUILTIN_MODFL + +// Define if the compiler/host combination has __builtin_pow +#undef HAVE_BUILTIN_POW + +// Define if the compiler/host combination has __builtin_powf +#undef HAVE_BUILTIN_POWF + +// Define if the compiler/host combination has __builtin_powl +#undef HAVE_BUILTIN_POWL + +// Define if the compiler/host combination has __builtin_sin +#undef HAVE_BUILTIN_SIN + +// Define if the compiler/host combination has __builtin_sinf +#undef HAVE_BUILTIN_SINF + +// Define if the compiler/host combination has __builtin_sinl +#undef HAVE_BUILTIN_SINL + +// Define if the compiler/host combination has __builtin_sinh +#undef HAVE_BUILTIN_SINH + +// Define if the compiler/host combination has __builtin_sinhf +#undef HAVE_BUILTIN_SINHF + +// Define if the compiler/host combination has __builtin_sinhl +#undef HAVE_BUILTIN_SINHL + +// Define if the compiler/host combination has __builtin_sqrt +#undef HAVE_BUILTIN_SQRT + +// Define if the compiler/host combination has __builtin_sqrtf +#undef HAVE_BUILTIN_SQRTF + +// Define if the compiler/host combination has __builtin_sqrtl +#undef HAVE_BUILTIN_SQRTL + +// Define if the compiler/host combination has __builtin_tan +#undef HAVE_BUILTIN_TAN + +// Define if the compiler/host combination has __builtin_tanf +#undef HAVE_BUILTIN_TANF + +// Define if the compiler/host combination has __builtin_tanl +#undef HAVE_BUILTIN_TANL + +// Define if the compiler/host combination has __builtin_tanh +#undef HAVE_BUILTIN_TANH + +// Define if the compiler/host combination has __builtin_tanhf +#undef HAVE_BUILTIN_TANHF + +// Define if the compiler/host combination has __builtin_tanhl +#undef HAVE_BUILTIN_TANHL // Define if GCC support for __complex__ float is buggy. #undef _GLIBCPP_BUGGY_FLOAT_COMPLEX @@ -42,6 +219,36 @@ // Define if modf is present in #undef HAVE_MODF +/* Define if you have the _acosf function. */ +#undef HAVE__ACOSF + +/* Define if you have the _acosl function. */ +#undef HAVE__ACOSL + +/* Define if you have the _asinf function. */ +#undef HAVE__ASINF + +/* Define if you have the _asinl function. */ +#undef HAVE__ASINL + +/* Define if you have the _atan2f function. */ +#undef HAVE__ATAN2F + +/* Define if you have the _atan2l function. */ +#undef HAVE__ATAN2L + +/* Define if you have the _atanf function. */ +#undef HAVE__ATANF + +/* Define if you have the _atanl function. */ +#undef HAVE__ATANL + +/* Define if you have the _ceilf function. */ +#undef HAVE__CEILF + +/* Define if you have the _ceill function. */ +#undef HAVE__CEILL + /* Define if you have the _copysign function. */ #undef HAVE__COPYSIGN @@ -54,18 +261,51 @@ /* Define if you have the _coshf function. */ #undef HAVE__COSHF +/* Define if you have the _coshl function. */ +#undef HAVE__COSHL + +/* Define if you have the _cosl function. */ +#undef HAVE__COSL + +/* Define if you have the _expf function. */ +#undef HAVE__EXPF + +/* Define if you have the _expl function. */ +#undef HAVE__EXPL + /* Define if you have the _fabsf function. */ #undef HAVE__FABSF +/* Define if you have the _fabsl function. */ +#undef HAVE__FABSL + /* Define if you have the _finite function. */ #undef HAVE__FINITE /* Define if you have the _finitef function. */ #undef HAVE__FINITEF +/* Define if you have the _finitel function. */ +#undef HAVE__FINITEL + +/* Define if you have the _floorf function. */ +#undef HAVE__FLOORF + +/* Define if you have the _floorl function. */ +#undef HAVE__FLOORL + /* Define if you have the _fpclass function. */ #undef HAVE__FPCLASS +/* Define if you have the _fqfinite function. */ +#undef HAVE__FQFINITE + +/* Define if you have the _frexpf function. */ +#undef HAVE__FREXPF + +/* Define if you have the _frexpl function. */ +#undef HAVE__FREXPL + /* Define if you have the _isinf function. */ #undef HAVE__ISINF @@ -84,20 +324,38 @@ /* Define if you have the _isnanl function. */ #undef HAVE__ISNANL +/* Define if you have the _ldexpf function. */ +#undef HAVE__LDEXPF + +/* Define if you have the _ldexpl function. */ +#undef HAVE__LDEXPL + /* Define if you have the _log10f function. */ #undef HAVE__LOG10F +/* Define if you have the _log10l function. */ +#undef HAVE__LOG10L + /* Define if you have the _logf function. */ #undef HAVE__LOGF +/* Define if you have the _logl function. */ +#undef HAVE__LOGL + /* Define if you have the _modf function. */ #undef HAVE__MODF +/* Define if you have the _modff function. */ +#undef HAVE__MODFF + +/* Define if you have the _modfl function. */ +#undef HAVE__MODFL + /* Define if you have the _powf function. */ #undef HAVE__POWF -/* Define if you have the _qfinite function. */ -#undef HAVE__QFINITE +/* Define if you have the _powl function. */ +#undef HAVE__POWL /* Define if you have the _qfpclass function. */ #undef HAVE__QFPCLASS @@ -117,9 +375,18 @@ /* Define if you have the _sinhf function. */ #undef HAVE__SINHF +/* Define if you have the _sinhl function. */ +#undef HAVE__SINHL + +/* Define if you have the _sinl function. */ +#undef HAVE__SINL + /* Define if you have the _sqrtf function. */ #undef HAVE__SQRTF +/* Define if you have the _sqrtl function. */ +#undef HAVE__SQRTL + /* Define if you have the _strtof function. */ #undef HAVE__STRTOF @@ -132,9 +399,36 @@ /* Define if you have the _tanhf function. */ #undef HAVE__TANHF +/* Define if you have the _tanhl function. */ +#undef HAVE__TANHL + +/* Define if you have the _tanl function. */ +#undef HAVE__TANL + +/* Define if you have the acosf function. */ +#undef HAVE_ACOSF + +/* Define if you have the acosl function. */ +#undef HAVE_ACOSL + +/* Define if you have the asinf function. */ +#undef HAVE_ASINF + +/* Define if you have the asinl function. */ +#undef HAVE_ASINL + /* Define if you have the atan2f function. */ #undef HAVE_ATAN2F +/* Define if you have the atan2l function. */ +#undef HAVE_ATAN2L + +/* Define if you have the atanf function. */ +#undef HAVE_ATANF + +/* Define if you have the atanl function. */ +#undef HAVE_ATANL + /* Define if you have the c_log function. */ #undef HAVE_C_LOG @@ -171,6 +465,12 @@ /* Define if you have the ccosl function. */ #undef HAVE_CCOSL +/* Define if you have the ceilf function. */ +#undef HAVE_CEILF + +/* Define if you have the ceill function. */ +#undef HAVE_CEILL + /* Define if you have the cexp function. */ #undef HAVE_CEXP @@ -204,6 +504,12 @@ /* Define if you have the coshf function. */ #undef HAVE_COSHF +/* Define if you have the coshl function. */ +#undef HAVE_COSHL + +/* Define if you have the cosl function. */ +#undef HAVE_COSL + /* Define if you have the cpow function. */ #undef HAVE_CPOW @@ -261,18 +567,42 @@ /* Define if you have the expf function. */ #undef HAVE_EXPF +/* Define if you have the expl function. */ +#undef HAVE_EXPL + /* Define if you have the fabsf function. */ #undef HAVE_FABSF +/* Define if you have the fabsl function. */ +#undef HAVE_FABSL + /* Define if you have the finite function. */ #undef HAVE_FINITE +/* Define if you have the finitef function. */ +#undef HAVE_FINITEF + +/* Define if you have the finitel function. */ +#undef HAVE_FINITEL + +/* Define if you have the floorf function. */ +#undef HAVE_FLOORF + +/* Define if you have the floorl function. */ +#undef HAVE_FLOORL + /* Define if you have the fpclass function. */ #undef HAVE_FPCLASS /* Define if you have the fqfinite function. */ #undef HAVE_FQFINITE +/* Define if you have the frexpf function. */ +#undef HAVE_FREXPF + +/* Define if you have the frexpl function. */ +#undef HAVE_FREXPL + /* Define if you have the getpagesize function. */ #undef HAVE_GETPAGESIZE @@ -312,21 +642,42 @@ /* Define if you have the isnanl function. */ #undef HAVE_ISNANL +/* Define if you have the ldexpf function. */ +#undef HAVE_LDEXPF + +/* Define if you have the ldexpl function. */ +#undef HAVE_LDEXPL + /* Define if you have the log10f function. */ #undef HAVE_LOG10F +/* Define if you have the log10l function. */ +#undef HAVE_LOG10L + /* Define if you have the logf function. */ #undef HAVE_LOGF +/* Define if you have the logl function. */ +#undef HAVE_LOGL + /* Define if you have the modf function. */ #undef HAVE_MODF +/* Define if you have the modff function. */ +#undef HAVE_MODFF + +/* Define if you have the modfl function. */ +#undef HAVE_MODFL + /* Define if you have the nan function. */ #undef HAVE_NAN /* Define if you have the powf function. */ #undef HAVE_POWF +/* Define if you have the powl function. */ +#undef HAVE_POWL + /* Define if you have the qfpclass function. */ #undef HAVE_QFPCLASS @@ -348,9 +699,18 @@ /* Define if you have the sinhf function. */ #undef HAVE_SINHF +/* Define if you have the sinhl function. */ +#undef HAVE_SINHL + +/* Define if you have the sinl function. */ +#undef HAVE_SINL + /* Define if you have the sqrtf function. */ #undef HAVE_SQRTF +/* Define if you have the sqrtl function. */ +#undef HAVE_SQRTL + /* Define if you have the strtof function. */ #undef HAVE_STRTOF @@ -363,6 +723,12 @@ /* Define if you have the tanhf function. */ #undef HAVE_TANHF +/* Define if you have the tanhl function. */ +#undef HAVE_TANHL + +/* Define if you have the tanl function. */ +#undef HAVE_TANL + /* Define if you have the wcslen function. */ #undef HAVE_WCSLEN @@ -476,66 +842,221 @@ # define cosf _cosf #endif +#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) +# define HAVE_ACOSF 1 +# define acosf _acosf +#endif + +#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) +# define HAVE_ACOSL 1 +# define acosl _acosl +#endif + +#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) +# define HAVE_ASINF 1 +# define asinf _asinf +#endif + +#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) +# define HAVE_ASINL 1 +# define asinl _asinl +#endif + +#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) +# define HAVE_ATANF 1 +# define atanf _atanf +#endif + +#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) +# define HAVE_ATANL 1 +# define atanl _atanl +#endif + +#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) +# define HAVE_CEILF 1 +# define aceil _ceilf +#endif + +#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) +# define HAVE_CEILL 1 +# define aceil _ceill +#endif + #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) # define HAVE_COSHF 1 # define coshf _coshf #endif +#if defined (HAVE__COSL) && ! defined (HAVE_COSL) +# define HAVE_COSL 1 +# define cosl _cosl +#endif + #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) # define HAVE_LOGF 1 # define logf _logf #endif +#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) +# define HAVE_COSHL 1 +# define coshl _coshl +#endif + +#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) +# define HAVE_EXPF 1 +# define expf _expf +#endif + +#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) +# define HAVE_EXPL 1 +# define expl _expl +#endif + +#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) +# define HAVE_FABSF 1 +# define fabsf _fabsf +#endif + +#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) +# define HAVE_FABSL 1 +# define fabsl _fabsl +#endif + +#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) +# define HAVE_FLOORF 1 +# define floorf _floorf +#endif + +#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) +# define HAVE_FLOORL 1 +# define floorl _floorl +#endif + +#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) +# define HAVE_FMODF 1 +# define fmodf _fmodf +#endif + +#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) +# define HAVE_FMODL 1 +# define fmodl _fmodl +#endif + +#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) +# define HAVE_FREXPF 1 +# define frexpf _frexpf +#endif + +#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) +# define HAVE_FREXPL 1 +# define frexpl _frexpl +#endif + +#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) +# define HAVE_LDEXPF 1 +# define ldexpf _ldexpf +#endif + +#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) +# define HAVE_LDEXPL 1 +# define ldexpl _ldexpl +#endif + #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) # define HAVE_LOG10F 1 # define log10f _log10f #endif +#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) +# define HAVE_LOGL 1 +# define logl _logl +#endif + #if defined (HAVE__POWF) && ! defined (HAVE_POWF) # define HAVE_POWF 1 # define powf _powf #endif +#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) +# define HAVE_LOG10L 1 +# define log10l _log10l +#endif + +#if defined (HAVE__MODF) && ! defined (HAVE_MODF) +# define HAVE_MODF 1 +# define modf _modf +#endif + +#if defined (HAVE__MODL) && ! defined (HAVE_MODL) +# define HAVE_MODL 1 +# define modl _modl +#endif + #if defined (HAVE__SINF) && ! defined (HAVE_SINF) # define HAVE_SINF 1 # define sinf _sinf #endif +#if defined (HAVE__POWL) && ! defined (HAVE_POWL) +# define HAVE_POWL 1 +# define powl _powl +#endif + #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) # define HAVE_SINHF 1 # define sinhf _sinhf #endif +#if defined (HAVE__SINL) && ! defined (HAVE_SINL) +# define HAVE_SINL 1 +# define sinl _sinl +#endif + #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) # define HAVE_SQRTF 1 # define sqrtf _sqrtf #endif +#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) +# define HAVE_SINHL 1 +# define sinhl _sinhl +#endif + #if defined (HAVE__TANF) && ! defined (HAVE_TANF) # define HAVE_TANF 1 # define tanf _tanf #endif +#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) +# define HAVE_SQRTL 1 +# define sqrtl _sqrtl +#endif + #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) # define HAVE_TANHF 1 # define tanhf _tanhf #endif +#if defined (HAVE__TANL) && ! defined (HAVE_TANL) +# define HAVE_TANF 1 +# define tanf _tanf +#endif + #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) # define HAVE_STRTOF 1 # define strtof _strtof #endif +#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) +# define HAVE_TANHL 1 +# define tanhl _tanhl +#endif + #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) # define HAVE_STRTOLD 1 # define strtold _strtold #endif -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) # define HAVE_SINCOS 1 # define sincos _sincos @@ -556,6 +1077,16 @@ # define finite _finite #endif +#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) +# define HAVE_FINITEF 1 +# define finitef _finitef +#endif + +#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) +# define HAVE_FINITEL 1 +# define finitel _finitel +#endif + #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) # define HAVE_QFINITE 1 # define qfinite _qfinite -- cgit v1.2.1