Mike Day mike_liz.day at tiscali.co.uk  wrote:
 
> I had another method involving q: and dividing by 10 ^ the
> lesser of the powers of 2 and 5 in the factors,  but it hangs J in
> some circumstances!
 
Dyadic q: to the rescue:
 
   (% 10 ^ [: <./ 0 2 {3&q:) 12345024500000x
123450245

But, if you ARE using dyadic q: and it still freezes J, then this is probably, 
a bug. Submit it.
 
                                          
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to