manual:chapter6:constants:cmd_econst

#### Synopsis

Push the symbolic constant 'e' on the stack

#### Stack Diagram

Input Stack Output Stack
e
Level 1 Level 1

 Type Analytic Function Parallel list processing Group 1 Affected by flags None

#### Description

The e function pushes on the stack a symbolic representation of the constant $e$.

Application of the →NUM operator returns its closest approximation to 2000-digits accuracy, irrespective of the numeric precision defined by SETPREC. This is done to ensure maximum accuracy if the symbolic expression is finally converted to a real number.

#### Compatibility

This command is only partially compatible with userRPL.

In particular:

• userRPL returns the closest approximation of $e$ to 12-digits accuracy.

#### Usage

The following program

« 6 SETPREC
e →NUM
DUP
1 *
»

will result in

2:               2.718281828459.
1:                      2.71828.
……………………………………………………………………………………

#### Related Commands

Command Short Description
π
і
е
ј
• manual/chapter6/constants/cmd_econst.txt