Post Reply 
HP33s: Quotient & Remainder
05-01-2023, 09:20 AM
Post: #4
RE: HP33s: Quotient & Remainder
(04-29-2023 09:15 PM)Didier Lachieze Wrote:  This should also work but I don’t have a 33s to test it:

Code:
 1.    LBL P
 2.    x<>y
 3.    STO R
 4.    x<>y
 5.    RMDR
 6.    x<>R
 7.    Lastx
 8.    INT÷
 9.    STO Q
10.    RTN

Running this code on my 35S:
2E12 3 XEQ P
--> Q= 666666666667 incorrect !
      R= 2 correct
The culprit is the INT÷ function !
Curiously this bug is not in the 35S bug list.

Can someone confirm the 33S is correct or not for this test case?

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP33s: Quotient & Remainder - Gerald H - 04-25-2023, 01:02 PM
RE: HP33s: Quotient & Remainder - J-F Garnier - 05-01-2023 09:20 AM
RE: HP33s: Quotient & Remainder - Joe Horn - 05-01-2023, 03:53 PM
RE: HP33s: Quotient & Remainder - Gerald H - 04-30-2023, 03:58 AM
RE: HP33s: Quotient & Remainder - Gerald H - 05-02-2023, 08:19 AM



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