1 // Copyright John Maddock 2008-11.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_MATH_C_MACROS_IPP
8 #define BOOST_MATH_C_MACROS_IPP
14 #define acosh boost_acosh
18 #define acoshf boost_acoshf
22 #define acoshl boost_acoshl
27 #define asinh boost_asinh
31 #define asinhf boost_asinhf
35 #define asinhl boost_asinhl
40 #define atanh boost_atanh
44 #define atanhf boost_atanhf
48 #define atanhl boost_atanhl
53 #define cbrt boost_cbrt
57 #define cbrtf boost_cbrtf
61 #define cbrtl boost_cbrtl
66 #define copysign boost_copysign
70 #define copysignf boost_copysignf
74 #define copysignl boost_copysignl
83 #define erff boost_erff
87 #define erfl boost_erfl
92 #define erfc boost_erfc
96 #define erfcf boost_erfcf
100 #define erfcl boost_erfcl
106 #define exp2 boost_exp2
110 #define exp2f boost_exp2f
114 #define exp2l boost_exp2l
120 #define expm1 boost_expm1
124 #define expm1f boost_expm1f
128 #define expm1l boost_expm1l
134 #define fdim boost_fdim
138 #define fdimf boost_fdimf
142 #define fdiml boost_fdiml
146 #define fma boost_fma
150 #define fmaf boost_fmaf
154 #define fmal boost_fmal
160 #define fmax boost_fmax
164 #define fmaxf boost_fmaxf
168 #define fmaxl boost_fmaxl
173 #define fmin boost_fmin
177 #define fminf boost_fminf
181 #define fminl boost_fminl
186 #define hypot boost_hypot
190 #define hypotf boost_hypotf
194 #define hypotl boost_hypotl
200 #define ilogb boost_ilogb
204 #define ilogbf boost_ilogbf
208 #define ilogbl boost_ilogbl
214 #define lgamma boost_lgamma
218 #define lgammaf boost_lgammaf
222 #define lgammal boost_lgammal
224 #ifdef BOOST_HAS_LONG_LONG
229 #define llrint boost_llrint
233 #define llrintf boost_llrintf
237 #define llrintl boost_llrintl
242 #define llround boost_llround
246 #define llroundf boost_llroundf
250 #define llroundl boost_llroundl
256 #define log1p boost_log1p
260 #define log1pf boost_log1pf
264 #define log1pl boost_log1pl
270 #define log2 boost_log2
274 #define log2f boost_log2f
278 #define log2l boost_log2l
283 #define logb boost_logb
287 #define logbf boost_logbf
291 #define logbl boost_logbl
296 #define lrint boost_lrint
300 #define lrintf boost_lrintf
304 #define lrintl boost_lrintl
310 #define lround boost_lround
314 #define lroundf boost_lroundf
318 #define lroundl boost_lroundl
324 #define nan boost_nan
328 #define nanf boost_nanf
332 #define nanl boost_nanl
337 #define nearbyint boost_nearbyint
341 #define nearbyintf boost_nearbyintf
345 #define nearbyintl boost_nearbyintl
351 #define nextafter boost_nextafter
355 #define nextafterf boost_nextafterf
359 #define nextafterl boost_nextafterl
364 #define nexttoward boost_nexttoward
368 #define nexttowardf boost_nexttowardf
372 #define nexttowardl boost_nexttowardl
378 #define remainder boost_remainder
382 #define remainderf boost_remainderf
386 #define remainderl boost_remainderl
391 #define remquo boost_remquo
395 #define remquof boost_remquof
399 #define remquol boost_remquol
404 #define rint boost_rint
408 #define rintf boost_rintf
412 #define rintl boost_rintl
418 #define round boost_round
422 #define roundf boost_roundf
426 #define roundl boost_roundl
432 #define scalbln boost_scalbln
436 #define scalblnf boost_scalblnf
440 #define scalblnl boost_scalblnl
445 #define scalbn boost_scalbn
449 #define scalbnf boost_scalbnf
453 #define scalbnl boost_scalbnl
459 #define tgamma boost_tgamma
463 #define tgammaf boost_tgammaf
467 #define tgammal boost_tgammal
472 #define trunc boost_trunc
476 #define truncf boost_truncf
480 #define truncl boost_truncl
482 // [5.2.1.1] associated Laguerre polynomials:
483 #ifdef assoc_laguerre
484 #undef assoc_laguerre
486 #define assoc_laguerre boost_assoc_laguerre
487 #ifdef assoc_laguerref
488 #undef assoc_laguerref
490 #define assoc_laguerref boost_assoc_laguerref
491 #ifdef assoc_laguerrel
492 #undef assoc_laguerrel
494 #define assoc_laguerrel boost_assoc_laguerrel
496 // [5.2.1.2] associated Legendre functions:
497 #ifdef assoc_legendre
498 #undef assoc_legendre
500 #define assoc_legendre boost_assoc_legendre
501 #ifdef assoc_legendref
502 #undef assoc_legendref
504 #define assoc_legendref boost_assoc_legendref
505 #ifdef assoc_legendrel
506 #undef assoc_legendrel
508 #define assoc_legendrel boost_assoc_legendrel
510 // [5.2.1.3] beta function:
514 #define beta boost_beta
518 #define betaf boost_betaf
522 #define betal boost_betal
524 // [5.2.1.4] (complete) elliptic integral of the first kind:
528 #define comp_ellint_1 boost_comp_ellint_1
529 #ifdef comp_ellint_1f
530 #undef comp_ellint_1f
532 #define comp_ellint_1f boost_comp_ellint_1f
533 #ifdef comp_ellint_1l
534 #undef comp_ellint_1l
536 #define comp_ellint_1l boost_comp_ellint_1l
538 // [5.2.1.5] (complete) elliptic integral of the second kind:
542 #define comp_ellint_2 boost_comp_ellint_2
543 #ifdef comp_ellint_2f
544 #undef comp_ellint_2f
546 #define comp_ellint_2f boost_comp_ellint_2f
547 #ifdef comp_ellint_2l
548 #undef comp_ellint_2l
550 #define comp_ellint_2l boost_comp_ellint_2l
552 // [5.2.1.6] (complete) elliptic integral of the third kind:
556 #define comp_ellint_3 boost_comp_ellint_3
557 #ifdef comp_ellint_3f
558 #undef comp_ellint_3f
560 #define comp_ellint_3f boost_comp_ellint_3f
561 #ifdef comp_ellint_3l
562 #undef comp_ellint_3l
564 #define comp_ellint_3l boost_comp_ellint_3l
567 // [5.2.1.7] confluent hypergeometric functions:
571 #define conf_hyper boost_conf_hyper
575 #define conf_hyperf boost_conf_hyperf
579 #define conf_hyperl boost_conf_hyperl
582 // [5.2.1.8] regular modified cylindrical Bessel functions:
586 #define cyl_bessel_i boost_cyl_bessel_i
590 #define cyl_bessel_if boost_cyl_bessel_if
594 #define cyl_bessel_il boost_cyl_bessel_il
596 // [5.2.1.9] cylindrical Bessel functions (of the first kind):
600 #define cyl_bessel_j boost_cyl_bessel_j
604 #define cyl_bessel_jf boost_cyl_bessel_jf
608 #define cyl_bessel_jl boost_cyl_bessel_jl
610 // [5.2.1.10] irregular modified cylindrical Bessel functions:
614 #define cyl_bessel_k boost_cyl_bessel_k
618 #define cyl_bessel_kf boost_cyl_bessel_kf
622 #define cyl_bessel_kl boost_cyl_bessel_kl
624 // [5.2.1.11] cylindrical Neumann functions BOOST_MATH_C99_THROW_SPEC;
625 // cylindrical Bessel functions (of the second kind):
629 #define cyl_neumann boost_cyl_neumann
633 #define cyl_neumannf boost_cyl_neumannf
637 #define cyl_neumannl boost_cyl_neumannl
639 // [5.2.1.12] (incomplete) elliptic integral of the first kind:
643 #define ellint_1 boost_ellint_1
647 #define ellint_1f boost_ellint_1f
651 #define ellint_1l boost_ellint_1l
653 // [5.2.1.13] (incomplete) elliptic integral of the second kind:
657 #define ellint_2 boost_ellint_2
661 #define ellint_2f boost_ellint_2f
665 #define ellint_2l boost_ellint_2l
667 // [5.2.1.14] (incomplete) elliptic integral of the third kind:
671 #define ellint_3 boost_ellint_3
675 #define ellint_3f boost_ellint_3f
679 #define ellint_3l boost_ellint_3l
681 // [5.2.1.15] exponential integral:
685 #define expint boost_expint
689 #define expintf boost_expintf
693 #define expintl boost_expintl
695 // [5.2.1.16] Hermite polynomials:
699 #define hermite boost_hermite
703 #define hermitef boost_hermitef
707 #define hermitel boost_hermitel
710 // [5.2.1.17] hypergeometric functions:
714 #define hyperg boost_hyperg
718 #define hypergf boost_hypergf
722 #define hypergl boost_hypergl
725 // [5.2.1.18] Laguerre polynomials:
729 #define laguerre boost_laguerre
733 #define laguerref boost_laguerref
737 #define laguerrel boost_laguerrel
739 // [5.2.1.19] Legendre polynomials:
743 #define legendre boost_legendre
747 #define legendref boost_legendref
751 #define legendrel boost_legendrel
753 // [5.2.1.20] Riemann zeta function:
757 #define riemann_zeta boost_riemann_zeta
761 #define riemann_zetaf boost_riemann_zetaf
765 #define riemann_zetal boost_riemann_zetal
767 // [5.2.1.21] spherical Bessel functions (of the first kind):
771 #define sph_bessel boost_sph_bessel
775 #define sph_besself boost_sph_besself
779 #define sph_bessell boost_sph_bessell
781 // [5.2.1.22] spherical associated Legendre functions:
785 #define sph_legendre boost_sph_legendre
789 #define sph_legendref boost_sph_legendref
793 #define sph_legendrel boost_sph_legendrel
795 // [5.2.1.23] spherical Neumann functions BOOST_MATH_C99_THROW_SPEC;
796 // spherical Bessel functions (of the second kind):
800 #define sph_neumann boost_sph_neumann
804 #define sph_neumannf boost_sph_neumannf
808 #define sph_neumannl boost_sph_neumannl
810 #endif // BOOST_MATH_C_MACROS_IPP