Post Reply 
JRPN 15C/16C: More faithful rounding simulation
09-05-2024, 05:49 PM (This post was last modified: 09-05-2024 05:59 PM by Gerson W. Barbosa.)
Post: #3
RE: JRPN 15C/16C: More faithful rounding simulation
Code:

#  Program produced by JRPN 15C.
#  Generated 2024-9-5 14:23 Horário Padrão de Brasília.
#  Program occupies 14 bytes.

   000 {          } 
   001 { 42 21 11 } f LBL A
   002 {    42 25 } f I
   003 {       36 } ENTER
   004 {    43 16 } g ABS
   005 {       10 } /
   006 {       34 } X<=>Y
   007 {       14 } yX
   008 {    42 30 } f Re<=>Im
   009 {    43 32 } g RTN

# End.

22 ENTER 783 ENTER 56 GSB A f Re<=>Im ->

HP-15C:

3.536885643-05

JRPN 15C:

3.536885811-05

This is equivalent to

783 ENTER 785 ÷ g COS⁻¹ 22 × COS

Both the HP-15C and JRPN 15C return the same result in DEG mode, 3.536927182-05. In RAD mode they differ slightly:

HP-15C:

3.536879499-05

JRPN 15C:

3.536879489-05

The exact 10-digit result is 3.536890463e-5.

Best regards,

Gerson.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: JRPN 15C/16C: More faithful rounding simulation - Gerson W. Barbosa - 09-05-2024 05:49 PM



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