Post Reply 
Power-of-two fraction handling for the 41C
02-02-2016, 09:35 PM (This post was last modified: 02-02-2016 09:37 PM by quantalume.)
Post: #15
RE: Power-of-two fraction handling for the 41C
(02-02-2016 08:21 PM)Dieter Wrote:  
(02-01-2016 09:36 PM)Dieter Wrote:  And maybe we can also get this RCL d thing working... ;-)

Here is a version that adds some benefits:
  • Mode settings (register d) are preserved.
  • Output can be displayed as a mixed number or improper fraction.
    Clear resp. set flag 01.
  • Denominator can be minimized or fixed.
    Clear resp. set flag 02.
  • Input can be positive or negative.
  • Integer output is displayed without "0/1" part.

Wow, this is really nice! I have not been able to find any errors in testing. I did make one small change. So as not to display the sign twice for negative output expressed as mixed numbers (this is just a personal preference), I replaced lines 50 and 51 with:
Code:
50 FC? 05
51 GTO 06
52 FS? 01
53 CHS
54 LBL 06

I appreciate the work you put into this, and I will definitely get daily use out of it. You should create an article in the 41C software library section once you're happy with the program.

David Brunell
Houston, Texas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Power-of-two fraction handling for the 41C - quantalume - 02-02-2016 09:35 PM



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