Post Reply 
50G fraction question Q-> function max denominator
10-25-2019, 05:26 AM
Post: #6
RE: 50G fraction question Q-> function max denominator
(10-24-2019 11:02 PM)cdmackay Wrote:  thanks Joe; how does this compare to your PDQ program?

The main difference is that in DEC2FRAC, the user specifies a maximum denominator. In PDQ, the user specifies the error tolerance (the maximum difference between the input decimal and the output fraction).

Another difference is that DEC2FRAC is limited to the machine's floating-point precision for input and output (12 digits). PDQ has no limitations; its inputs and outputs can be of any desired length, and the tolerance can be any value.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 50G fraction question Q-> function max denominator - Joe Horn - 10-25-2019 05:26 AM



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