debugmsg("numeric print", LOGLEVEL_PRINT);
if (this->is_real()) {
// case 1, real: x or -x
- if ((precedence<=upper_precedence) && (!this->is_pos_integer())) {
+ if ((precedence<=upper_precedence) && (!this->is_nonneg_integer())) {
os << "(";
print_real_number(os, The(cl_R)(*value));
os << ")";
}
-/** The gamma function.
+/** The Gamma function.
* This is only a stub! */
-const numeric gamma(const numeric & x)
+const numeric Gamma(const numeric & x)
{
- clog << "gamma(" << x
+ clog << "Gamma(" << x
<< "): Does anybody know good way to calculate this numerically?"
<< endl;
return numeric(0);
/** Floating point evaluation of Euler's constant Gamma. */
-ex EulerGammaEvalf(void)
+ex gammaEvalf(void)
{
return numeric(::cl_eulerconst(cl_default_float_format)); // -> CLN
}