Roger Hui wrote:
> On investigation I have discovered a bug in the x:
> routine in the part that handles floating point arguments
> whose magnitude is less than 1e_16 or greater than 1e16.
> For such arguments the result should be exactly 1%y
> or y where y is an integer.  This is now fixed for the
> next beta, wherein:
>
>......

Roger:

Am I correct in assuming that monad x: uses something like (,%+.)&1  ?

If so, could you explain a little more than in the Dictionary how +.
works?  I am guessing that a+.b is for a>b is figured out using Euclid's
algorithm by recursively writing

a=qb+r

except r is regarded as zero if r%a is (tolerantly) zero.  Or is this way
off base?


Best wishes,

John



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

Reply via email to