This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Index: include/tr1/exp_integral.tcc
===================================================================
--- include/tr1/exp_integral.tcc (revision 150913)
+++ include/tr1/exp_integral.tcc (working copy)
@@ -165,7 +165,7 @@
__del = -__fact / _Tp(__i - __nm1);
else
{
- _Tp __psi = -_TR1_GAMMA_TCC;
+ _Tp __psi = -__numeric_constants<_Tp>::gamma_e();
for (int __ii = 1; __ii <= __nm1; ++__ii)
__psi += _Tp(1) / _Tp(__ii);
__del = __fact * (__psi - std::log(__x));
Index: include/tr1/gamma.tcc
===================================================================
--- include/tr1/gamma.tcc (revision 150913)
+++ include/tr1/gamma.tcc (working copy)
@@ -44,8 +44,8 @@
// (4) Gamma, Exploring Euler's Constant, Julian Havil,
// Princeton, 2003.
-#ifndef _TR1_GAMMA_TCC
-#define _TR1_GAMMA_TCC 1
+#ifndef _GLIBCXX_TR1_GAMMA_TCC
+#define _GLIBCXX_TR1_GAMMA_TCC 1
#include "special_function_util.h"
@@ -467,5 +467,5 @@
}
}
-#endif // _TR1_GAMMA_TCC
+#endif // _GLIBCXX_TR1_GAMMA_TCC
Attachment:
CL_tr1_math_guard
Description: video/flv
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |