manual:chapter6:constants:cmd_econst

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:chapter6:constants:cmd_econst [2019/10/20 05:23]
jojo1973
manual:chapter6:constants:cmd_econst [2021/09/19 15:07] (current)
jojo1973
Line 1: Line 1:
 ==== e ==== ==== e ====
----- 
 <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> <callout type="primary" color="" icon="fa fa-book" title="Synopsis">
 ---- ----
Line 9: Line 8:
 ---- ----
 ^  __Input Stack__  ^  ^  __Output Stack__  ^ ^  __Input Stack__  ^  ^  __Output Stack__  ^
-|  |  **→**  |  **e**  | + ****   **→**  |  **C<sub>e</sub>**  | 
-|  //Level 1//  |  //→//  |  //Level 1//  |+|  //Level 1 / Argument 1//  |  //→//  |  //Level 1//  |
  
 {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
  
-|**Type**| [[manual:chapter5:basics#analytic-functions|Analytic Function]]  || +| **Keyword type**  | [[manual:chapter5:basics#analytic-functions|Analytic Function]]  || 
-|**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]]  ||  +| **Parallel list processing capabilities**  | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]]  | //Commands that cannot parallel process//  
-|**Affected by flags**| None  ||+| **Affected by flags**  //None//  || 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 </callout> </callout>
  
Line 23: Line 36:
 The ''e'' function pushes on the stack a symbolic representation of the constant $e$. 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 finally converted to a real number.+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>
  
 <callout type="warning" icon="true" title="Compatibility"> <callout type="warning" icon="true" title="Compatibility">
 ---- ----
-This command is only partially compatible with userRPL.+''e'' is not fully equivalent to its **userRPL** counterpart.
  
 In particular: In particular:
  
-  * userRPL returns the closest approximation of $e$ to 12-digits accuracy.+  * **userRPL** returns the closest approximation of $e$ to 12-digits accuracy.
 </callout> </callout>
  
 <callout type="info" icon="true" title="Usage"> <callout type="info" icon="true" title="Usage">
 ---- ----
-The following program+**__Input__**
 <code> <code>
 « 6 SETPREC « 6 SETPREC
Line 45: Line 58:
 » »
 </code> </code>
-will result in+\\ 
 +**__Output__**
 <code> <code>
-2:               2.718281828459. +4:                                       
-1:                      2.71828. +3:                                       
-……………………………………………………………………………………+2:                       2.718281828459. 
 +1:                              2.71828. 
 +………………………………………………………………………………………………………… 
 +                                        
 </code> </code>
 </callout> </callout>
Line 57: Line 74:
 {{page>manual:chapter6:constants&nofooter&noeditbtn&inline}} {{page>manual:chapter6:constants&nofooter&noeditbtn&inline}}
 </callout> </callout>
 +
  • manual/chapter6/constants/cmd_econst.1571574238.txt.gz
  • Last modified: 2019/10/20 05:23
  • by jojo1973