E¶
Status: Stable
documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
Description¶
E
is the exponential constant e (base of natural logarithms), with
numerical value ~= 2.71828.
E is a mathematical constant: it has attributes Constant and Protected,
NumericQ[E] is True, and D[E, x] is 0. N[E, prec] evaluates it to any
precision.
Examples¶
No verified examples yet for this function.
Implementation notes¶
- Attributes
Constant,Protected.Attributes[E] = {Constant, Protected};
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¶
E is the exponential constant e, the base of the natural logarithm. It is a
protected Constant, so D[E, x] is 0 and it survives evaluation symbolically
until N is applied — N[E, prec] returns it to any requested precision via the
MPFR backend. The constant is recognised by the rest of the system, so the
classic limit and series characterisations of e both fold back to E, and
Log[E^3] simplifies to its exponent.