Hi.
Looking in the Net, I found a method to do that, based on continuous
fractions.
I guess it its the same that J uses.
Any comments?
Regards.
----- Original Message -----
From: "Ricardo Forno" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Thursday, February 07, 2008 11:14 AM
Subject: [Jprogramming] Algorithm to represent floating point numbers
asfractions
Hi.
I'm interested in an algorithm such as mentioned in the subject.
I know that J can do it automatically, but my intent is to program this
algorithm in C.
As the designers of J surely did develop such an algorithm, I'd be very
grateful if they share this technique with me.
Of course, I'm speaking of an efficient algorithm, not the brute force
one.
Many thanks for your attention.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
269.19.21/1263 - Release Date: 06/02/2008 20:14
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm