Thanks Andrew. Apologies I didn't have the right 'Subject' entry.
As it happens, the reason I want to look at these verbs is to study the same
-- i.e.  rounding and high precision arithmetic.

Regards

Ken

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Nikitin
Sent: 11 June 2006 04:27
To: [email protected]
Subject: [Jprogramming] Re: [Jforum] polynomial division

Use verbs d2f and f2d from
http://www.jsoftware.com/jwiki/Phrases/Arith

For example,
   d2f '0.(3)'
1r3
   2 f2d d2f '0.(3)'
0.(01)
   2 f2d d2f '0.54(3)'
0.10(00101100010111111001)

Originally these verbs were designed to investigate certain artifacts caused

by ieee floats.

>Hi,
>I am looking for a 'fast' verb for converting decimal fractions to binary
>equivalents, and that recognises recurring patterns? Any offers?
>
>Many thanks
>Ken


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to