Post Reply 
Power-of-two fraction handling for the 41C
01-31-2016, 09:45 PM
Post: #1
Power-of-two fraction handling for the 41C
I was wondering if there is a program available that converts from decimal to fractions but limits itself to a user-defined power of two in the denominator. For example, if my power-of-two limit is 32 and I have a decimal number of 1.3525, then my conversion would be 1-11/32. Likewise, if my denominator limit is 64, the answer would be 1-23/64. The smallest denominator should always be used; for example, if the decimal number is 1.25, the answer would be 1-1/4, even if the denominator limit is 8 or higher. An added useful feature would be always representing the denominator in the given power of two upon setting of a flag; for example FS 04, then 1.25 = 1-16/64.

Does such a program exist, or should I write this?

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


Messages In This Thread
Power-of-two fraction handling for the 41C - quantalume - 01-31-2016 09:45 PM



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