Files

811 lines
14 KiB
C++

// Copyright John Maddock 2008-11.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef ACTIV_BOOST_MATH_C_MACROS_IPP
#define ACTIV_BOOST_MATH_C_MACROS_IPP
// C99 Functions:
#ifdef acosh
#undef acosh
#endif
#define acosh Boost_acosh
#ifdef acoshf
#undef acoshf
#endif
#define acoshf Boost_acoshf
#ifdef acoshl
#undef acoshl
#endif
#define acoshl Boost_acoshl
#ifdef asinh
#undef asinh
#endif
#define asinh Boost_asinh
#ifdef asinhf
#undef asinhf
#endif
#define asinhf Boost_asinhf
#ifdef asinhl
#undef asinhl
#endif
#define asinhl Boost_asinhl
#ifdef atanh
#undef atanh
#endif
#define atanh Boost_atanh
#ifdef atanhf
#undef atanhf
#endif
#define atanhf Boost_atanhf
#ifdef atanhl
#undef atanhl
#endif
#define atanhl Boost_atanhl
#ifdef cbrt
#undef cbrt
#endif
#define cbrt Boost_cbrt
#ifdef cbrtf
#undef cbrtf
#endif
#define cbrtf Boost_cbrtf
#ifdef cbrtl
#undef cbrtl
#endif
#define cbrtl Boost_cbrtl
#ifdef copysign
#undef copysign
#endif
#define copysign Boost_copysign
#ifdef copysignf
#undef copysignf
#endif
#define copysignf Boost_copysignf
#ifdef copysignl
#undef copysignl
#endif
#define copysignl Boost_copysignl
#ifdef erf
#undef erf
#endif
#define erf Boost_erf
#ifdef erff
#undef erff
#endif
#define erff Boost_erff
#ifdef erfl
#undef erfl
#endif
#define erfl Boost_erfl
#ifdef erfc
#undef erfc
#endif
#define erfc Boost_erfc
#ifdef erfcf
#undef erfcf
#endif
#define erfcf Boost_erfcf
#ifdef erfcl
#undef erfcl
#endif
#define erfcl Boost_erfcl
#if 0
#ifdef exp2
#undef exp2
#endif
#define exp2 Boost_exp2
#ifdef exp2f
#undef exp2f
#endif
#define exp2f Boost_exp2f
#ifdef exp2l
#undef exp2l
#endif
#define exp2l Boost_exp2l
#endif
#ifdef expm1
#undef expm1
#endif
#define expm1 Boost_expm1
#ifdef expm1f
#undef expm1f
#endif
#define expm1f Boost_expm1f
#ifdef expm1l
#undef expm1l
#endif
#define expm1l Boost_expm1l
#if 0
#ifdef fdim
#undef fdim
#endif
#define fdim Boost_fdim
#ifdef fdimf
#undef fdimf
#endif
#define fdimf Boost_fdimf
#ifdef fdiml
#undef fdiml
#endif
#define fdiml Boost_fdiml
#ifdef acosh
#undef acosh
#endif
#define fma Boost_fma
#ifdef fmaf
#undef fmaf
#endif
#define fmaf Boost_fmaf
#ifdef fmal
#undef fmal
#endif
#define fmal Boost_fmal
#endif
#ifdef fmax
#undef fmax
#endif
#define fmax Boost_fmax
#ifdef fmaxf
#undef fmaxf
#endif
#define fmaxf Boost_fmaxf
#ifdef fmaxl
#undef fmaxl
#endif
#define fmaxl Boost_fmaxl
#ifdef fmin
#undef fmin
#endif
#define fmin Boost_fmin
#ifdef fminf
#undef fminf
#endif
#define fminf Boost_fminf
#ifdef fminl
#undef fminl
#endif
#define fminl Boost_fminl
#ifdef hypot
#undef hypot
#endif
#define hypot Boost_hypot
#ifdef hypotf
#undef hypotf
#endif
#define hypotf Boost_hypotf
#ifdef hypotl
#undef hypotl
#endif
#define hypotl Boost_hypotl
#if 0
#ifdef ilogb
#undef ilogb
#endif
#define ilogb Boost_ilogb
#ifdef ilogbf
#undef ilogbf
#endif
#define ilogbf Boost_ilogbf
#ifdef ilogbl
#undef ilogbl
#endif
#define ilogbl Boost_ilogbl
#endif
#ifdef lgamma
#undef lgamma
#endif
#define lgamma Boost_lgamma
#ifdef lgammaf
#undef lgammaf
#endif
#define lgammaf Boost_lgammaf
#ifdef lgammal
#undef lgammal
#endif
#define lgammal Boost_lgammal
#ifdef ACTIV_BOOST_HAS_LONG_LONG
#if 0
#ifdef llrint
#undef llrint
#endif
#define llrint Boost_llrint
#ifdef llrintf
#undef llrintf
#endif
#define llrintf Boost_llrintf
#ifdef llrintl
#undef llrintl
#endif
#define llrintl Boost_llrintl
#endif
#ifdef llround
#undef llround
#endif
#define llround Boost_llround
#ifdef llroundf
#undef llroundf
#endif
#define llroundf Boost_llroundf
#ifdef llroundl
#undef llroundl
#endif
#define llroundl Boost_llroundl
#endif
#ifdef log1p
#undef log1p
#endif
#define log1p Boost_log1p
#ifdef log1pf
#undef log1pf
#endif
#define log1pf Boost_log1pf
#ifdef log1pl
#undef log1pl
#endif
#define log1pl Boost_log1pl
#if 0
#ifdef log2
#undef log2
#endif
#define log2 Boost_log2
#ifdef log2f
#undef log2f
#endif
#define log2f Boost_log2f
#ifdef log2l
#undef log2l
#endif
#define log2l Boost_log2l
#ifdef logb
#undef logb
#endif
#define logb Boost_logb
#ifdef logbf
#undef logbf
#endif
#define logbf Boost_logbf
#ifdef logbl
#undef logbl
#endif
#define logbl Boost_logbl
#ifdef lrint
#undef lrint
#endif
#define lrint Boost_lrint
#ifdef lrintf
#undef lrintf
#endif
#define lrintf Boost_lrintf
#ifdef lrintl
#undef lrintl
#endif
#define lrintl Boost_lrintl
#endif
#ifdef lround
#undef lround
#endif
#define lround Boost_lround
#ifdef lroundf
#undef lroundf
#endif
#define lroundf Boost_lroundf
#ifdef lroundl
#undef lroundl
#endif
#define lroundl Boost_lroundl
#if 0
#ifdef nan
#undef nan
#endif
#define nan Boost_nan
#ifdef nanf
#undef nanf
#endif
#define nanf Boost_nanf
#ifdef nanl
#undef nanl
#endif
#define nanl Boost_nanl
#ifdef nearbyint
#undef nearbyint
#endif
#define nearbyint Boost_nearbyint
#ifdef nearbyintf
#undef nearbyintf
#endif
#define nearbyintf Boost_nearbyintf
#ifdef nearbyintl
#undef nearbyintl
#endif
#define nearbyintl Boost_nearbyintl
#endif
#ifdef nextafter
#undef nextafter
#endif
#define nextafter Boost_nextafter
#ifdef nextafterf
#undef nextafterf
#endif
#define nextafterf Boost_nextafterf
#ifdef nextafterl
#undef nextafterl
#endif
#define nextafterl Boost_nextafterl
#ifdef nexttoward
#undef nexttoward
#endif
#define nexttoward Boost_nexttoward
#ifdef nexttowardf
#undef nexttowardf
#endif
#define nexttowardf Boost_nexttowardf
#ifdef nexttowardl
#undef nexttowardl
#endif
#define nexttowardl Boost_nexttowardl
#if 0
#ifdef remainder
#undef remainder
#endif
#define remainder Boost_remainder
#ifdef remainderf
#undef remainderf
#endif
#define remainderf Boost_remainderf
#ifdef remainderl
#undef remainderl
#endif
#define remainderl Boost_remainderl
#ifdef remquo
#undef remquo
#endif
#define remquo Boost_remquo
#ifdef remquof
#undef remquof
#endif
#define remquof Boost_remquof
#ifdef remquol
#undef remquol
#endif
#define remquol Boost_remquol
#ifdef rint
#undef rint
#endif
#define rint Boost_rint
#ifdef rintf
#undef rintf
#endif
#define rintf Boost_rintf
#ifdef rintl
#undef rintl
#endif
#define rintl Boost_rintl
#endif
#ifdef round
#undef round
#endif
#define round Boost_round
#ifdef roundf
#undef roundf
#endif
#define roundf Boost_roundf
#ifdef roundl
#undef roundl
#endif
#define roundl Boost_roundl
#if 0
#ifdef scalbln
#undef scalbln
#endif
#define scalbln Boost_scalbln
#ifdef scalblnf
#undef scalblnf
#endif
#define scalblnf Boost_scalblnf
#ifdef scalblnl
#undef scalblnl
#endif
#define scalblnl Boost_scalblnl
#ifdef scalbn
#undef scalbn
#endif
#define scalbn Boost_scalbn
#ifdef scalbnf
#undef scalbnf
#endif
#define scalbnf Boost_scalbnf
#ifdef scalbnl
#undef scalbnl
#endif
#define scalbnl Boost_scalbnl
#endif
#ifdef tgamma
#undef tgamma
#endif
#define tgamma Boost_tgamma
#ifdef tgammaf
#undef tgammaf
#endif
#define tgammaf Boost_tgammaf
#ifdef tgammal
#undef tgammal
#endif
#define tgammal Boost_tgammal
#ifdef trunc
#undef trunc
#endif
#define trunc Boost_trunc
#ifdef truncf
#undef truncf
#endif
#define truncf Boost_truncf
#ifdef truncl
#undef truncl
#endif
#define truncl Boost_truncl
// [5.2.1.1] associated Laguerre polynomials:
#ifdef assoc_laguerre
#undef assoc_laguerre
#endif
#define assoc_laguerre Boost_assoc_laguerre
#ifdef assoc_laguerref
#undef assoc_laguerref
#endif
#define assoc_laguerref Boost_assoc_laguerref
#ifdef assoc_laguerrel
#undef assoc_laguerrel
#endif
#define assoc_laguerrel Boost_assoc_laguerrel
// [5.2.1.2] associated Legendre functions:
#ifdef assoc_legendre
#undef assoc_legendre
#endif
#define assoc_legendre Boost_assoc_legendre
#ifdef assoc_legendref
#undef assoc_legendref
#endif
#define assoc_legendref Boost_assoc_legendref
#ifdef assoc_legendrel
#undef assoc_legendrel
#endif
#define assoc_legendrel Boost_assoc_legendrel
// [5.2.1.3] beta function:
#ifdef beta
#undef beta
#endif
#define beta Boost_beta
#ifdef betaf
#undef betaf
#endif
#define betaf Boost_betaf
#ifdef betal
#undef betal
#endif
#define betal Boost_betal
// [5.2.1.4] (complete) elliptic integral of the first kind:
#ifdef comp_ellint_1
#undef comp_ellint_1
#endif
#define comp_ellint_1 Boost_comp_ellint_1
#ifdef comp_ellint_1f
#undef comp_ellint_1f
#endif
#define comp_ellint_1f Boost_comp_ellint_1f
#ifdef comp_ellint_1l
#undef comp_ellint_1l
#endif
#define comp_ellint_1l Boost_comp_ellint_1l
// [5.2.1.5] (complete) elliptic integral of the second kind:
#ifdef comp_ellint_2
#undef comp_ellint_2
#endif
#define comp_ellint_2 Boost_comp_ellint_2
#ifdef comp_ellint_2f
#undef comp_ellint_2f
#endif
#define comp_ellint_2f Boost_comp_ellint_2f
#ifdef comp_ellint_2l
#undef comp_ellint_2l
#endif
#define comp_ellint_2l Boost_comp_ellint_2l
// [5.2.1.6] (complete) elliptic integral of the third kind:
#ifdef comp_ellint_3
#undef comp_ellint_3
#endif
#define comp_ellint_3 Boost_comp_ellint_3
#ifdef comp_ellint_3f
#undef comp_ellint_3f
#endif
#define comp_ellint_3f Boost_comp_ellint_3f
#ifdef comp_ellint_3l
#undef comp_ellint_3l
#endif
#define comp_ellint_3l Boost_comp_ellint_3l
#if 0
// [5.2.1.7] confluent hypergeometric functions:
#ifdef conf_hyper
#undef conf_hyper
#endif
#define conf_hyper Boost_conf_hyper
#ifdef conf_hyperf
#undef conf_hyperf
#endif
#define conf_hyperf Boost_conf_hyperf
#ifdef conf_hyperl
#undef conf_hyperl
#endif
#define conf_hyperl Boost_conf_hyperl
#endif
// [5.2.1.8] regular modified cylindrical Bessel functions:
#ifdef cyl_bessel_i
#undef cyl_bessel_i
#endif
#define cyl_bessel_i Boost_cyl_bessel_i
#ifdef cyl_bessel_if
#undef cyl_bessel_if
#endif
#define cyl_bessel_if Boost_cyl_bessel_if
#ifdef cyl_bessel_il
#undef cyl_bessel_il
#endif
#define cyl_bessel_il Boost_cyl_bessel_il
// [5.2.1.9] cylindrical Bessel functions (of the first kind):
#ifdef cyl_bessel_j
#undef cyl_bessel_j
#endif
#define cyl_bessel_j Boost_cyl_bessel_j
#ifdef cyl_bessel_jf
#undef cyl_bessel_jf
#endif
#define cyl_bessel_jf Boost_cyl_bessel_jf
#ifdef cyl_bessel_jl
#undef cyl_bessel_jl
#endif
#define cyl_bessel_jl Boost_cyl_bessel_jl
// [5.2.1.10] irregular modified cylindrical Bessel functions:
#ifdef cyl_bessel_k
#undef cyl_bessel_k
#endif
#define cyl_bessel_k Boost_cyl_bessel_k
#ifdef cyl_bessel_kf
#undef cyl_bessel_kf
#endif
#define cyl_bessel_kf Boost_cyl_bessel_kf
#ifdef cyl_bessel_kl
#undef cyl_bessel_kl
#endif
#define cyl_bessel_kl Boost_cyl_bessel_kl
// [5.2.1.11] cylindrical Neumann functions ACTIV_BOOST_MATH_C99_THROW_SPEC;
// cylindrical Bessel functions (of the second kind):
#ifdef cyl_neumann
#undef cyl_neumann
#endif
#define cyl_neumann Boost_cyl_neumann
#ifdef cyl_neumannf
#undef cyl_neumannf
#endif
#define cyl_neumannf Boost_cyl_neumannf
#ifdef cyl_neumannl
#undef cyl_neumannl
#endif
#define cyl_neumannl Boost_cyl_neumannl
// [5.2.1.12] (incomplete) elliptic integral of the first kind:
#ifdef ellint_1
#undef ellint_1
#endif
#define ellint_1 Boost_ellint_1
#ifdef ellint_1f
#undef ellint_1f
#endif
#define ellint_1f Boost_ellint_1f
#ifdef ellint_1l
#undef ellint_1l
#endif
#define ellint_1l Boost_ellint_1l
// [5.2.1.13] (incomplete) elliptic integral of the second kind:
#ifdef ellint_2
#undef ellint_2
#endif
#define ellint_2 Boost_ellint_2
#ifdef ellint_2f
#undef ellint_2f
#endif
#define ellint_2f Boost_ellint_2f
#ifdef ellint_2l
#undef ellint_2l
#endif
#define ellint_2l Boost_ellint_2l
// [5.2.1.14] (incomplete) elliptic integral of the third kind:
#ifdef ellint_3
#undef ellint_3
#endif
#define ellint_3 Boost_ellint_3
#ifdef ellint_3f
#undef ellint_3f
#endif
#define ellint_3f Boost_ellint_3f
#ifdef ellint_3l
#undef ellint_3l
#endif
#define ellint_3l Boost_ellint_3l
// [5.2.1.15] exponential integral:
#ifdef expint
#undef expint
#endif
#define expint Boost_expint
#ifdef expintf
#undef expintf
#endif
#define expintf Boost_expintf
#ifdef expintl
#undef expintl
#endif
#define expintl Boost_expintl
// [5.2.1.16] Hermite polynomials:
#ifdef hermite
#undef hermite
#endif
#define hermite Boost_hermite
#ifdef hermitef
#undef hermitef
#endif
#define hermitef Boost_hermitef
#ifdef hermitel
#undef hermitel
#endif
#define hermitel Boost_hermitel
#if 0
// [5.2.1.17] hypergeometric functions:
#ifdef hyperg
#undef hyperg
#endif
#define hyperg Boost_hyperg
#ifdef hypergf
#undef hypergf
#endif
#define hypergf Boost_hypergf
#ifdef hypergl
#undef hypergl
#endif
#define hypergl Boost_hypergl
#endif
// [5.2.1.18] Laguerre polynomials:
#ifdef laguerre
#undef laguerre
#endif
#define laguerre Boost_laguerre
#ifdef laguerref
#undef laguerref
#endif
#define laguerref Boost_laguerref
#ifdef laguerrel
#undef laguerrel
#endif
#define laguerrel Boost_laguerrel
// [5.2.1.19] Legendre polynomials:
#ifdef legendre
#undef legendre
#endif
#define legendre Boost_legendre
#ifdef legendref
#undef legendref
#endif
#define legendref Boost_legendref
#ifdef legendrel
#undef legendrel
#endif
#define legendrel Boost_legendrel
// [5.2.1.20] Riemann zeta function:
#ifdef riemann_zeta
#undef riemann_zeta
#endif
#define riemann_zeta Boost_riemann_zeta
#ifdef riemann_zetaf
#undef riemann_zetaf
#endif
#define riemann_zetaf Boost_riemann_zetaf
#ifdef riemann_zetal
#undef riemann_zetal
#endif
#define riemann_zetal Boost_riemann_zetal
// [5.2.1.21] spherical Bessel functions (of the first kind):
#ifdef sph_bessel
#undef sph_bessel
#endif
#define sph_bessel Boost_sph_bessel
#ifdef sph_besself
#undef sph_besself
#endif
#define sph_besself Boost_sph_besself
#ifdef sph_bessell
#undef sph_bessell
#endif
#define sph_bessell Boost_sph_bessell
// [5.2.1.22] spherical associated Legendre functions:
#ifdef sph_legendre
#undef sph_legendre
#endif
#define sph_legendre Boost_sph_legendre
#ifdef sph_legendref
#undef sph_legendref
#endif
#define sph_legendref Boost_sph_legendref
#ifdef sph_legendrel
#undef sph_legendrel
#endif
#define sph_legendrel Boost_sph_legendrel
// [5.2.1.23] spherical Neumann functions ACTIV_BOOST_MATH_C99_THROW_SPEC;
// spherical Bessel functions (of the second kind):
#ifdef sph_neumann
#undef sph_neumann
#endif
#define sph_neumann Boost_sph_neumann
#ifdef sph_neumannf
#undef sph_neumannf
#endif
#define sph_neumannf Boost_sph_neumannf
#ifdef sph_neumannl
#undef sph_neumannl
#endif
#define sph_neumannl Boost_sph_neumannl
#endif // ACTIV_BOOST_MATH_C_MACROS_IPP