tr1_c_macros.ipp 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  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)
  6. #ifndef BOOST_MATH_C_MACROS_IPP
  7. #define BOOST_MATH_C_MACROS_IPP
  8. // C99 Functions:
  9. #ifdef acosh
  10. #undef acosh
  11. #endif
  12. #define acosh boost_acosh
  13. #ifdef acoshf
  14. #undef acoshf
  15. #endif
  16. #define acoshf boost_acoshf
  17. #ifdef acoshl
  18. #undef acoshl
  19. #endif
  20. #define acoshl boost_acoshl
  21. #ifdef asinh
  22. #undef asinh
  23. #endif
  24. #define asinh boost_asinh
  25. #ifdef asinhf
  26. #undef asinhf
  27. #endif
  28. #define asinhf boost_asinhf
  29. #ifdef asinhl
  30. #undef asinhl
  31. #endif
  32. #define asinhl boost_asinhl
  33. #ifdef atanh
  34. #undef atanh
  35. #endif
  36. #define atanh boost_atanh
  37. #ifdef atanhf
  38. #undef atanhf
  39. #endif
  40. #define atanhf boost_atanhf
  41. #ifdef atanhl
  42. #undef atanhl
  43. #endif
  44. #define atanhl boost_atanhl
  45. #ifdef cbrt
  46. #undef cbrt
  47. #endif
  48. #define cbrt boost_cbrt
  49. #ifdef cbrtf
  50. #undef cbrtf
  51. #endif
  52. #define cbrtf boost_cbrtf
  53. #ifdef cbrtl
  54. #undef cbrtl
  55. #endif
  56. #define cbrtl boost_cbrtl
  57. #ifdef copysign
  58. #undef copysign
  59. #endif
  60. #define copysign boost_copysign
  61. #ifdef copysignf
  62. #undef copysignf
  63. #endif
  64. #define copysignf boost_copysignf
  65. #ifdef copysignl
  66. #undef copysignl
  67. #endif
  68. #define copysignl boost_copysignl
  69. #ifdef erf
  70. #undef erf
  71. #endif
  72. #define erf boost_erf
  73. #ifdef erff
  74. #undef erff
  75. #endif
  76. #define erff boost_erff
  77. #ifdef erfl
  78. #undef erfl
  79. #endif
  80. #define erfl boost_erfl
  81. #ifdef erfc
  82. #undef erfc
  83. #endif
  84. #define erfc boost_erfc
  85. #ifdef erfcf
  86. #undef erfcf
  87. #endif
  88. #define erfcf boost_erfcf
  89. #ifdef erfcl
  90. #undef erfcl
  91. #endif
  92. #define erfcl boost_erfcl
  93. #if 0
  94. #ifdef exp2
  95. #undef exp2
  96. #endif
  97. #define exp2 boost_exp2
  98. #ifdef exp2f
  99. #undef exp2f
  100. #endif
  101. #define exp2f boost_exp2f
  102. #ifdef exp2l
  103. #undef exp2l
  104. #endif
  105. #define exp2l boost_exp2l
  106. #endif
  107. #ifdef expm1
  108. #undef expm1
  109. #endif
  110. #define expm1 boost_expm1
  111. #ifdef expm1f
  112. #undef expm1f
  113. #endif
  114. #define expm1f boost_expm1f
  115. #ifdef expm1l
  116. #undef expm1l
  117. #endif
  118. #define expm1l boost_expm1l
  119. #if 0
  120. #ifdef fdim
  121. #undef fdim
  122. #endif
  123. #define fdim boost_fdim
  124. #ifdef fdimf
  125. #undef fdimf
  126. #endif
  127. #define fdimf boost_fdimf
  128. #ifdef fdiml
  129. #undef fdiml
  130. #endif
  131. #define fdiml boost_fdiml
  132. #ifdef acosh
  133. #undef acosh
  134. #endif
  135. #define fma boost_fma
  136. #ifdef fmaf
  137. #undef fmaf
  138. #endif
  139. #define fmaf boost_fmaf
  140. #ifdef fmal
  141. #undef fmal
  142. #endif
  143. #define fmal boost_fmal
  144. #endif
  145. #ifdef fmax
  146. #undef fmax
  147. #endif
  148. #define fmax boost_fmax
  149. #ifdef fmaxf
  150. #undef fmaxf
  151. #endif
  152. #define fmaxf boost_fmaxf
  153. #ifdef fmaxl
  154. #undef fmaxl
  155. #endif
  156. #define fmaxl boost_fmaxl
  157. #ifdef fmin
  158. #undef fmin
  159. #endif
  160. #define fmin boost_fmin
  161. #ifdef fminf
  162. #undef fminf
  163. #endif
  164. #define fminf boost_fminf
  165. #ifdef fminl
  166. #undef fminl
  167. #endif
  168. #define fminl boost_fminl
  169. #ifdef hypot
  170. #undef hypot
  171. #endif
  172. #define hypot boost_hypot
  173. #ifdef hypotf
  174. #undef hypotf
  175. #endif
  176. #define hypotf boost_hypotf
  177. #ifdef hypotl
  178. #undef hypotl
  179. #endif
  180. #define hypotl boost_hypotl
  181. #if 0
  182. #ifdef ilogb
  183. #undef ilogb
  184. #endif
  185. #define ilogb boost_ilogb
  186. #ifdef ilogbf
  187. #undef ilogbf
  188. #endif
  189. #define ilogbf boost_ilogbf
  190. #ifdef ilogbl
  191. #undef ilogbl
  192. #endif
  193. #define ilogbl boost_ilogbl
  194. #endif
  195. #ifdef lgamma
  196. #undef lgamma
  197. #endif
  198. #define lgamma boost_lgamma
  199. #ifdef lgammaf
  200. #undef lgammaf
  201. #endif
  202. #define lgammaf boost_lgammaf
  203. #ifdef lgammal
  204. #undef lgammal
  205. #endif
  206. #define lgammal boost_lgammal
  207. #ifdef BOOST_HAS_LONG_LONG
  208. #if 0
  209. #ifdef llrint
  210. #undef llrint
  211. #endif
  212. #define llrint boost_llrint
  213. #ifdef llrintf
  214. #undef llrintf
  215. #endif
  216. #define llrintf boost_llrintf
  217. #ifdef llrintl
  218. #undef llrintl
  219. #endif
  220. #define llrintl boost_llrintl
  221. #endif
  222. #ifdef llround
  223. #undef llround
  224. #endif
  225. #define llround boost_llround
  226. #ifdef llroundf
  227. #undef llroundf
  228. #endif
  229. #define llroundf boost_llroundf
  230. #ifdef llroundl
  231. #undef llroundl
  232. #endif
  233. #define llroundl boost_llroundl
  234. #endif
  235. #ifdef log1p
  236. #undef log1p
  237. #endif
  238. #define log1p boost_log1p
  239. #ifdef log1pf
  240. #undef log1pf
  241. #endif
  242. #define log1pf boost_log1pf
  243. #ifdef log1pl
  244. #undef log1pl
  245. #endif
  246. #define log1pl boost_log1pl
  247. #if 0
  248. #ifdef log2
  249. #undef log2
  250. #endif
  251. #define log2 boost_log2
  252. #ifdef log2f
  253. #undef log2f
  254. #endif
  255. #define log2f boost_log2f
  256. #ifdef log2l
  257. #undef log2l
  258. #endif
  259. #define log2l boost_log2l
  260. #ifdef logb
  261. #undef logb
  262. #endif
  263. #define logb boost_logb
  264. #ifdef logbf
  265. #undef logbf
  266. #endif
  267. #define logbf boost_logbf
  268. #ifdef logbl
  269. #undef logbl
  270. #endif
  271. #define logbl boost_logbl
  272. #ifdef lrint
  273. #undef lrint
  274. #endif
  275. #define lrint boost_lrint
  276. #ifdef lrintf
  277. #undef lrintf
  278. #endif
  279. #define lrintf boost_lrintf
  280. #ifdef lrintl
  281. #undef lrintl
  282. #endif
  283. #define lrintl boost_lrintl
  284. #endif
  285. #ifdef lround
  286. #undef lround
  287. #endif
  288. #define lround boost_lround
  289. #ifdef lroundf
  290. #undef lroundf
  291. #endif
  292. #define lroundf boost_lroundf
  293. #ifdef lroundl
  294. #undef lroundl
  295. #endif
  296. #define lroundl boost_lroundl
  297. #if 0
  298. #ifdef nan
  299. #undef nan
  300. #endif
  301. #define nan boost_nan
  302. #ifdef nanf
  303. #undef nanf
  304. #endif
  305. #define nanf boost_nanf
  306. #ifdef nanl
  307. #undef nanl
  308. #endif
  309. #define nanl boost_nanl
  310. #ifdef nearbyint
  311. #undef nearbyint
  312. #endif
  313. #define nearbyint boost_nearbyint
  314. #ifdef nearbyintf
  315. #undef nearbyintf
  316. #endif
  317. #define nearbyintf boost_nearbyintf
  318. #ifdef nearbyintl
  319. #undef nearbyintl
  320. #endif
  321. #define nearbyintl boost_nearbyintl
  322. #endif
  323. #ifdef nextafter
  324. #undef nextafter
  325. #endif
  326. #define nextafter boost_nextafter
  327. #ifdef nextafterf
  328. #undef nextafterf
  329. #endif
  330. #define nextafterf boost_nextafterf
  331. #ifdef nextafterl
  332. #undef nextafterl
  333. #endif
  334. #define nextafterl boost_nextafterl
  335. #ifdef nexttoward
  336. #undef nexttoward
  337. #endif
  338. #define nexttoward boost_nexttoward
  339. #ifdef nexttowardf
  340. #undef nexttowardf
  341. #endif
  342. #define nexttowardf boost_nexttowardf
  343. #ifdef nexttowardl
  344. #undef nexttowardl
  345. #endif
  346. #define nexttowardl boost_nexttowardl
  347. #if 0
  348. #ifdef remainder
  349. #undef remainder
  350. #endif
  351. #define remainder boost_remainder
  352. #ifdef remainderf
  353. #undef remainderf
  354. #endif
  355. #define remainderf boost_remainderf
  356. #ifdef remainderl
  357. #undef remainderl
  358. #endif
  359. #define remainderl boost_remainderl
  360. #ifdef remquo
  361. #undef remquo
  362. #endif
  363. #define remquo boost_remquo
  364. #ifdef remquof
  365. #undef remquof
  366. #endif
  367. #define remquof boost_remquof
  368. #ifdef remquol
  369. #undef remquol
  370. #endif
  371. #define remquol boost_remquol
  372. #ifdef rint
  373. #undef rint
  374. #endif
  375. #define rint boost_rint
  376. #ifdef rintf
  377. #undef rintf
  378. #endif
  379. #define rintf boost_rintf
  380. #ifdef rintl
  381. #undef rintl
  382. #endif
  383. #define rintl boost_rintl
  384. #endif
  385. #ifdef round
  386. #undef round
  387. #endif
  388. #define round boost_round
  389. #ifdef roundf
  390. #undef roundf
  391. #endif
  392. #define roundf boost_roundf
  393. #ifdef roundl
  394. #undef roundl
  395. #endif
  396. #define roundl boost_roundl
  397. #if 0
  398. #ifdef scalbln
  399. #undef scalbln
  400. #endif
  401. #define scalbln boost_scalbln
  402. #ifdef scalblnf
  403. #undef scalblnf
  404. #endif
  405. #define scalblnf boost_scalblnf
  406. #ifdef scalblnl
  407. #undef scalblnl
  408. #endif
  409. #define scalblnl boost_scalblnl
  410. #ifdef scalbn
  411. #undef scalbn
  412. #endif
  413. #define scalbn boost_scalbn
  414. #ifdef scalbnf
  415. #undef scalbnf
  416. #endif
  417. #define scalbnf boost_scalbnf
  418. #ifdef scalbnl
  419. #undef scalbnl
  420. #endif
  421. #define scalbnl boost_scalbnl
  422. #endif
  423. #ifdef tgamma
  424. #undef tgamma
  425. #endif
  426. #define tgamma boost_tgamma
  427. #ifdef tgammaf
  428. #undef tgammaf
  429. #endif
  430. #define tgammaf boost_tgammaf
  431. #ifdef tgammal
  432. #undef tgammal
  433. #endif
  434. #define tgammal boost_tgammal
  435. #ifdef trunc
  436. #undef trunc
  437. #endif
  438. #define trunc boost_trunc
  439. #ifdef truncf
  440. #undef truncf
  441. #endif
  442. #define truncf boost_truncf
  443. #ifdef truncl
  444. #undef truncl
  445. #endif
  446. #define truncl boost_truncl
  447. // [5.2.1.1] associated Laguerre polynomials:
  448. #ifdef assoc_laguerre
  449. #undef assoc_laguerre
  450. #endif
  451. #define assoc_laguerre boost_assoc_laguerre
  452. #ifdef assoc_laguerref
  453. #undef assoc_laguerref
  454. #endif
  455. #define assoc_laguerref boost_assoc_laguerref
  456. #ifdef assoc_laguerrel
  457. #undef assoc_laguerrel
  458. #endif
  459. #define assoc_laguerrel boost_assoc_laguerrel
  460. // [5.2.1.2] associated Legendre functions:
  461. #ifdef assoc_legendre
  462. #undef assoc_legendre
  463. #endif
  464. #define assoc_legendre boost_assoc_legendre
  465. #ifdef assoc_legendref
  466. #undef assoc_legendref
  467. #endif
  468. #define assoc_legendref boost_assoc_legendref
  469. #ifdef assoc_legendrel
  470. #undef assoc_legendrel
  471. #endif
  472. #define assoc_legendrel boost_assoc_legendrel
  473. // [5.2.1.3] beta function:
  474. #ifdef beta
  475. #undef beta
  476. #endif
  477. #define beta boost_beta
  478. #ifdef betaf
  479. #undef betaf
  480. #endif
  481. #define betaf boost_betaf
  482. #ifdef betal
  483. #undef betal
  484. #endif
  485. #define betal boost_betal
  486. // [5.2.1.4] (complete) elliptic integral of the first kind:
  487. #ifdef comp_ellint_1
  488. #undef comp_ellint_1
  489. #endif
  490. #define comp_ellint_1 boost_comp_ellint_1
  491. #ifdef comp_ellint_1f
  492. #undef comp_ellint_1f
  493. #endif
  494. #define comp_ellint_1f boost_comp_ellint_1f
  495. #ifdef comp_ellint_1l
  496. #undef comp_ellint_1l
  497. #endif
  498. #define comp_ellint_1l boost_comp_ellint_1l
  499. // [5.2.1.5] (complete) elliptic integral of the second kind:
  500. #ifdef comp_ellint_2
  501. #undef comp_ellint_2
  502. #endif
  503. #define comp_ellint_2 boost_comp_ellint_2
  504. #ifdef comp_ellint_2f
  505. #undef comp_ellint_2f
  506. #endif
  507. #define comp_ellint_2f boost_comp_ellint_2f
  508. #ifdef comp_ellint_2l
  509. #undef comp_ellint_2l
  510. #endif
  511. #define comp_ellint_2l boost_comp_ellint_2l
  512. // [5.2.1.6] (complete) elliptic integral of the third kind:
  513. #ifdef comp_ellint_3
  514. #undef comp_ellint_3
  515. #endif
  516. #define comp_ellint_3 boost_comp_ellint_3
  517. #ifdef comp_ellint_3f
  518. #undef comp_ellint_3f
  519. #endif
  520. #define comp_ellint_3f boost_comp_ellint_3f
  521. #ifdef comp_ellint_3l
  522. #undef comp_ellint_3l
  523. #endif
  524. #define comp_ellint_3l boost_comp_ellint_3l
  525. #if 0
  526. // [5.2.1.7] confluent hypergeometric functions:
  527. #ifdef conf_hyper
  528. #undef conf_hyper
  529. #endif
  530. #define conf_hyper boost_conf_hyper
  531. #ifdef conf_hyperf
  532. #undef conf_hyperf
  533. #endif
  534. #define conf_hyperf boost_conf_hyperf
  535. #ifdef conf_hyperl
  536. #undef conf_hyperl
  537. #endif
  538. #define conf_hyperl boost_conf_hyperl
  539. #endif
  540. // [5.2.1.8] regular modified cylindrical Bessel functions:
  541. #ifdef cyl_bessel_i
  542. #undef cyl_bessel_i
  543. #endif
  544. #define cyl_bessel_i boost_cyl_bessel_i
  545. #ifdef cyl_bessel_if
  546. #undef cyl_bessel_if
  547. #endif
  548. #define cyl_bessel_if boost_cyl_bessel_if
  549. #ifdef cyl_bessel_il
  550. #undef cyl_bessel_il
  551. #endif
  552. #define cyl_bessel_il boost_cyl_bessel_il
  553. // [5.2.1.9] cylindrical Bessel functions (of the first kind):
  554. #ifdef cyl_bessel_j
  555. #undef cyl_bessel_j
  556. #endif
  557. #define cyl_bessel_j boost_cyl_bessel_j
  558. #ifdef cyl_bessel_jf
  559. #undef cyl_bessel_jf
  560. #endif
  561. #define cyl_bessel_jf boost_cyl_bessel_jf
  562. #ifdef cyl_bessel_jl
  563. #undef cyl_bessel_jl
  564. #endif
  565. #define cyl_bessel_jl boost_cyl_bessel_jl
  566. // [5.2.1.10] irregular modified cylindrical Bessel functions:
  567. #ifdef cyl_bessel_k
  568. #undef cyl_bessel_k
  569. #endif
  570. #define cyl_bessel_k boost_cyl_bessel_k
  571. #ifdef cyl_bessel_kf
  572. #undef cyl_bessel_kf
  573. #endif
  574. #define cyl_bessel_kf boost_cyl_bessel_kf
  575. #ifdef cyl_bessel_kl
  576. #undef cyl_bessel_kl
  577. #endif
  578. #define cyl_bessel_kl boost_cyl_bessel_kl
  579. // [5.2.1.11] cylindrical Neumann functions BOOST_MATH_C99_THROW_SPEC;
  580. // cylindrical Bessel functions (of the second kind):
  581. #ifdef cyl_neumann
  582. #undef cyl_neumann
  583. #endif
  584. #define cyl_neumann boost_cyl_neumann
  585. #ifdef cyl_neumannf
  586. #undef cyl_neumannf
  587. #endif
  588. #define cyl_neumannf boost_cyl_neumannf
  589. #ifdef cyl_neumannl
  590. #undef cyl_neumannl
  591. #endif
  592. #define cyl_neumannl boost_cyl_neumannl
  593. // [5.2.1.12] (incomplete) elliptic integral of the first kind:
  594. #ifdef ellint_1
  595. #undef ellint_1
  596. #endif
  597. #define ellint_1 boost_ellint_1
  598. #ifdef ellint_1f
  599. #undef ellint_1f
  600. #endif
  601. #define ellint_1f boost_ellint_1f
  602. #ifdef ellint_1l
  603. #undef ellint_1l
  604. #endif
  605. #define ellint_1l boost_ellint_1l
  606. // [5.2.1.13] (incomplete) elliptic integral of the second kind:
  607. #ifdef ellint_2
  608. #undef ellint_2
  609. #endif
  610. #define ellint_2 boost_ellint_2
  611. #ifdef ellint_2f
  612. #undef ellint_2f
  613. #endif
  614. #define ellint_2f boost_ellint_2f
  615. #ifdef ellint_2l
  616. #undef ellint_2l
  617. #endif
  618. #define ellint_2l boost_ellint_2l
  619. // [5.2.1.14] (incomplete) elliptic integral of the third kind:
  620. #ifdef ellint_3
  621. #undef ellint_3
  622. #endif
  623. #define ellint_3 boost_ellint_3
  624. #ifdef ellint_3f
  625. #undef ellint_3f
  626. #endif
  627. #define ellint_3f boost_ellint_3f
  628. #ifdef ellint_3l
  629. #undef ellint_3l
  630. #endif
  631. #define ellint_3l boost_ellint_3l
  632. // [5.2.1.15] exponential integral:
  633. #ifdef expint
  634. #undef expint
  635. #endif
  636. #define expint boost_expint
  637. #ifdef expintf
  638. #undef expintf
  639. #endif
  640. #define expintf boost_expintf
  641. #ifdef expintl
  642. #undef expintl
  643. #endif
  644. #define expintl boost_expintl
  645. // [5.2.1.16] Hermite polynomials:
  646. #ifdef hermite
  647. #undef hermite
  648. #endif
  649. #define hermite boost_hermite
  650. #ifdef hermitef
  651. #undef hermitef
  652. #endif
  653. #define hermitef boost_hermitef
  654. #ifdef hermitel
  655. #undef hermitel
  656. #endif
  657. #define hermitel boost_hermitel
  658. #if 0
  659. // [5.2.1.17] hypergeometric functions:
  660. #ifdef hyperg
  661. #undef hyperg
  662. #endif
  663. #define hyperg boost_hyperg
  664. #ifdef hypergf
  665. #undef hypergf
  666. #endif
  667. #define hypergf boost_hypergf
  668. #ifdef hypergl
  669. #undef hypergl
  670. #endif
  671. #define hypergl boost_hypergl
  672. #endif
  673. // [5.2.1.18] Laguerre polynomials:
  674. #ifdef laguerre
  675. #undef laguerre
  676. #endif
  677. #define laguerre boost_laguerre
  678. #ifdef laguerref
  679. #undef laguerref
  680. #endif
  681. #define laguerref boost_laguerref
  682. #ifdef laguerrel
  683. #undef laguerrel
  684. #endif
  685. #define laguerrel boost_laguerrel
  686. // [5.2.1.19] Legendre polynomials:
  687. #ifdef legendre
  688. #undef legendre
  689. #endif
  690. #define legendre boost_legendre
  691. #ifdef legendref
  692. #undef legendref
  693. #endif
  694. #define legendref boost_legendref
  695. #ifdef legendrel
  696. #undef legendrel
  697. #endif
  698. #define legendrel boost_legendrel
  699. // [5.2.1.20] Riemann zeta function:
  700. #ifdef riemann_zeta
  701. #undef riemann_zeta
  702. #endif
  703. #define riemann_zeta boost_riemann_zeta
  704. #ifdef riemann_zetaf
  705. #undef riemann_zetaf
  706. #endif
  707. #define riemann_zetaf boost_riemann_zetaf
  708. #ifdef riemann_zetal
  709. #undef riemann_zetal
  710. #endif
  711. #define riemann_zetal boost_riemann_zetal
  712. // [5.2.1.21] spherical Bessel functions (of the first kind):
  713. #ifdef sph_bessel
  714. #undef sph_bessel
  715. #endif
  716. #define sph_bessel boost_sph_bessel
  717. #ifdef sph_besself
  718. #undef sph_besself
  719. #endif
  720. #define sph_besself boost_sph_besself
  721. #ifdef sph_bessell
  722. #undef sph_bessell
  723. #endif
  724. #define sph_bessell boost_sph_bessell
  725. // [5.2.1.22] spherical associated Legendre functions:
  726. #ifdef sph_legendre
  727. #undef sph_legendre
  728. #endif
  729. #define sph_legendre boost_sph_legendre
  730. #ifdef sph_legendref
  731. #undef sph_legendref
  732. #endif
  733. #define sph_legendref boost_sph_legendref
  734. #ifdef sph_legendrel
  735. #undef sph_legendrel
  736. #endif
  737. #define sph_legendrel boost_sph_legendrel
  738. // [5.2.1.23] spherical Neumann functions BOOST_MATH_C99_THROW_SPEC;
  739. // spherical Bessel functions (of the second kind):
  740. #ifdef sph_neumann
  741. #undef sph_neumann
  742. #endif
  743. #define sph_neumann boost_sph_neumann
  744. #ifdef sph_neumannf
  745. #undef sph_neumannf
  746. #endif
  747. #define sph_neumannf boost_sph_neumannf
  748. #ifdef sph_neumannl
  749. #undef sph_neumannl
  750. #endif
  751. #define sph_neumannl boost_sph_neumannl
  752. #endif // BOOST_MATH_C_MACROS_IPP