EulerGamma¶
Status: Stable
documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
Description¶
EulerGamma
is Euler's constant gamma, with numerical value ~= 0.5772156649.
EulerGamma is the Euler-Mascheroni constant, the limit of
HarmonicNumber[n] - Log[n] as n -> Infinity. It is a mathematical
constant: it has attributes Constant and Protected, NumericQ[EulerGamma]
is True, and D[EulerGamma, x] is 0. N[EulerGamma, prec] evaluates it to
any precision.
Examples¶
No verified examples yet for this function.
Implementation notes¶
- Attributes
Constant,Protected. `Attributes[EulerGamma] = {Constant,
Attributes: Constant, Protected.
Implementation status¶
Stable — documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
References¶
- Source:
src/info.c - Specification:
docs/spec/builtins/mathematical-constants.md
Notes & additional examples¶
Worked examples¶
Notes¶
EulerGamma is the Euler-Mascheroni constant, the limit of
HarmonicNumber[n] - Log[n]. It carries the Constant and Protected
attributes, so it is NumericQ and differentiates to 0, yet stays exact
until N[EulerGamma, prec] evaluates it to any requested precision via MPFR.