HP calcs are really not that accurate..
|
12-02-2017, 12:13 AM
(This post was last modified: 12-02-2017 12:15 AM by Gerson W. Barbosa.)
Post: #9
|
|||
|
|||
RE: HP calcs are really not that accurate..
(12-01-2017 09:09 PM)DA74254 Wrote: In my opinion, there should be no reason that we should not have, say, at least 256 digits/decimal points accuracy. That goes for any device capable of doing "2+2” We can take advantage of long integer numbers in Exact mode on the 49/49G+/50g to get extended accuracy at least for division operations. For instance, evaluate the following program with ‘d’ (number of decimal places) as an argument. « PUSH RAD -105 CF -3 CF DUP .653 * 1.74 + IP R→I DUP 2 MOD + DUP 4 * OVER DUPDUP 1 - 1 FOR i i SQ SWAP / PICK3 + ROT SWAP -1 STEP INV NIP UNROT + 1 - 3 0 UNROT FOR i i INV i 2 - INV - + -4 STEP - 4 * EXPAND FXND DUP SIZE R→I ALOG OVER - PICK3 * SWAP IQUOT + →STR DUP HEAD -51 FC? { "." } { "," } IFTE + SWAP TAIL + 1 ROT 2 + SUB POP » On real hardware you should try low ‘d’ (15 or 20, never 256), unless you don’t mind waiting or draining up your battery set. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)