Post Reply 
Happy Pi day everyone!!
03-16-2019, 06:14 PM
Post: #21
RE: Happy Pi day everyone!!
(03-15-2019 12:45 AM)Valentin Albillo Wrote:  … trivially easy to convert to RPN, RPL or whatever:

Here's a program for the HP-42S:
Code:
00 { 36-Byte Prgm }
01▸LBL "A002491"
02 1ᴇ-3
03 RCL+ ST Y
04 X<>Y
05▸LBL 00
06 DSE ST Y
07 GTO 01
08 RTN
09▸LBL 01
10 ENTER
11 +/-
12 RCL ST Z
13 IP
14 MOD
15 +
16 GTO 00

Quote:FNP(1000000)     -> 3.14159

Example:

1E6
XEQ "A002491"
318,310,503,562

1E12
X<>Y
÷
3.14158656032

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Happy Pi day everyone!! - Namir - 03-14-2019, 12:25 PM
RE: Happy Pi day everyone!! - ttw - 03-14-2019, 12:34 PM
RE: Happy Pi day everyone!! - Dieter - 03-14-2019, 08:09 PM
RE: Happy Pi day everyone!! - Thomas Klemm - 03-14-2019, 10:12 PM
RE: Happy Pi day everyone!! - DA74254 - 03-14-2019, 10:34 PM
RE: Happy Pi day everyone!! - mpark - 03-15-2019, 05:11 PM
RE: Happy Pi day everyone!! - EdS2 - 03-16-2019, 07:50 AM
RE: Happy Pi day everyone!! - Carsen - 03-15-2019, 04:31 AM
RE: Happy Pi day everyone!! - Carsen - 03-16-2019, 06:27 AM
RE: Happy Pi day everyone!! - Thomas Okken - 03-17-2019, 12:38 AM
RE: Happy Pi day everyone!! - Thomas Klemm - 03-16-2019, 03:18 PM
RE: Happy Pi day everyone!! - EdS2 - 03-18-2019, 08:07 AM
RE: Happy Pi day everyone!! - ttw - 03-16-2019, 04:23 PM
RE: Happy Pi day everyone!! - Thomas Klemm - 03-16-2019, 05:11 PM
RE: Happy Pi day everyone!! - Thomas Klemm - 03-16-2019 06:14 PM
RE: Happy Pi day everyone!! - ttw - 03-17-2019, 12:56 AM
RE: Happy Pi day everyone!! - Thomas Klemm - 03-18-2019, 05:40 PM



User(s) browsing this thread: 1 Guest(s)