x q: y where x is a small non-negative integer (up to 1229) 
and y is a large extended integer is now significantly 
improved:  faster, leaner, and producing a result where 
previously it might have signalled error.  For example:

   y=: 60 * 1+2^300x
   5 q: y
2 1 1 0 0

   ts=: 6!:2 , 7!:[EMAIL PROTECTED]
   ts '5 q: y'
1.45417e_5 4032



----- Original Message -----
From: Roger Hui
Date: Tue Jun 20 02:37:06 HKT 2006 

The dyad q: is apparently based on the monad q: 
even though it could do much better when the left 
argument is a small integer.  This will be fixed 
some time but probably not in time for J6.01.



----- Original Message -----
From: Andrew Nikitin <nsg21 at hotmail.com>
Date: Wednesday, June 14, 2006 7:38 pm
Subject: [Jbeta] q: is broken

>      1 q: 10^100x
> 100
>      1 q: 1+10^100x
> |domain error
> |   1     q:1+10^100




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

Reply via email to