Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== e ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Push the symbolic constant 'e' on the stack </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **** | **→** | **C<sub>e</sub>** | | //Level 1 / Argument 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#analytic-functions|Analytic Function]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// | | **Affected by flags** | //None// || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''e'' function pushes on the stack a symbolic representation of the constant $e$. Application of the ''[[manual:chapter6:operators:cmd_ovr_num|→NUM]]'' operator returns its closest approximation to 2000-digits accuracy, irrespective of the numeric precision defined by ''[[manual:chapter6:arithmetic:cmd_setprec|SETPREC]]''. This is done to ensure maximum accuracy if the symbolic expression is ultimately converted to a real number. </callout> <callout type="warning" icon="true" title="Compatibility"> ---- ''e'' is not fully equivalent to its **userRPL** counterpart. In particular: * **userRPL** returns the closest approximation of $e$ to 12-digits accuracy. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> « 6 SETPREC e →NUM DUP 1 * » </code> \\ **__Output__** <code> 4: 3: 2: 2.718281828459. 1: 2.71828. ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:constants&nofooter&noeditbtn&inline}} </callout> manual/chapter6/constants/cmd_econst.txt Last modified: 2021/09/19 15:07by jojo1973