You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7633d18
Browse filesBrowse the repository at this point in the historyBrowse files
eulergamma is the Euler-Mascheroni constant, 0.5772156649..., and
EulerGamma, its name in Mathematica and SymPy, is read as it. It is
evaluated to the working precision by the Brent-McMillan routine the
exponential and trigonometric integrals already used, and it has a
value in the interval and decimal evaluators and in both compilers. It
draws as \mathrm{\gamma} and exports as sympy.EulerGamma.
With it the digamma function is exact at a whole or half-whole
argument: psi(1) = -gamma and psi(1/2) = -gamma - 2 ln 2, and the
recurrence from either. digamma(3) is 3/2 - eulergamma. The harmonic
number at a half-whole n is exact for m = 1 and an even m, from the
same values with Euler's constant left out, since it cancels:
harmonicnumber(1/2) is 2 - 2 ln 2.
Part of #2182
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
**Not silent: `catalannumber(n)` is the Catalan number, where it was a product.** It is `binomial(2n, n) / (n + 1)` for
@@ -742,7 +759,7 @@ no others. Where that proof does not go through, or a bound is symbolic, the int
742
759
- **Evaluation.** Each is evaluated to the working precision anywhere in the complex plane but at `0, -1, -2, ...`, its poles, where it is `NaN`.
743
760
- **Derivatives.** Each order differentiates to the next. The derivative of `x!`, which was left unevaluated, is `x! * digamma(x + 1)` ([#171](https://github.com/asc-community/AngouriMath/issues/171)).
744
761
- **Integrals.** Each order integrates to the one before, and `digamma(x)` to `ln((x - 1)!)`.
745
-
- **Exact values.** An odd order at a whole or half-whole argument is a rational times a power of `pi` plus a rational: `polygamma(1, 1)` is `1/6 * pi ^ 2`.
762
+
- **Exact values.** An odd order at a whole or half-whole argument is a rational times a power of `pi` plus a rational: `polygamma(1, 1)` is `1/6 * pi ^ 2`. The digamma function there is a rational less Euler's constant, and at a half-whole argument less `2 ln 2` as well: `digamma(1)` is `-eulergamma`.
746
763
747
764
| Input | Was (2.6.0) | Now |
748
765
|---|---|---|
@@ -753,6 +770,7 @@ no others. Where that proof does not go through, or a bound is symbolic, the int
0 commit comments