Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
manual:chapter6:constants:cmd_piconst [2019/10/20 00:31] jojo1973 Fixed related commands |
manual:chapter6:constants:cmd_piconst [2021/09/19 13:42] jojo1973 Redone |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== π ==== | ==== π ==== | ||
- | ---- | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
Line 9: | Line 8: | ||
---- | ---- | ||
^ __Input Stack__ | ^ __Input Stack__ | ||
- | | | **→** | + | | |
| //Level 1// | // | | //Level 1// | // | ||
{{page> | {{page> | ||
- | |**Type**| [[manual: | + | | **Keyword type** | [[manual: |
- | |**Parallel list processing**| [[manual: | + | | **Parallel list processing |
- | |**Affected by flags**| None || | + | | **Affected by flags** |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</ | </ | ||
Line 23: | Line 36: | ||
The '' | The '' | ||
- | Application of the '' | + | Application of the '' |
</ | </ | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
- | This command | + | '' |
In particular: | In particular: | ||
- | * userRPL returns the closest approximation of $π$ to 12-digits accuracy. | + | |
</ | </ | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
- | The following program | + | **__Input__** |
< | < | ||
« 6 SETPREC | « 6 SETPREC | ||
Line 45: | Line 58: | ||
» | » | ||
</ | </ | ||
- | will result in | + | \\ |
+ | **__Output__** | ||
< | < | ||
- | 2: 3.14159265359. | + | 4: |
- | 1: 3.14159. | + | 3: |
- | …………………………………………………………………………………… | + | 2: 3.14159265359. |
+ | 1: 3.14159. | ||
+ | ………………………………………………………………………………………………………… | ||
+ | | ||
</ | </ | ||
</ | </ | ||
Line 57: | Line 74: | ||
{{page> | {{page> | ||
</ | </ | ||
+ |