You are lucky, I tried on linux64, it just hanged and can only press reset
key to reboot.

Did you check the factorised result on mac32 was correct?

Втр, 08 Фев 2011, Ian Clark писал(а):
> Thanks from me too, on behalf of the Mac community. Like Charles,
> couldn't wait to try it out.
> 
> But I ought to report this...
> 
> Hoping to show-off the difference between 32 and 64 bit, I thought I'd
> replicate the timings of p17 of At Play With J ...
> http://www.jsoftware.com/jwiki/Doc/Articles/Play103
> 
> factors=: 3 : 0
> f=. i. 0                                              
> t=. 2 3 5 7 11 13 17 19 23 29 31 37
> o=. +/\ 432 $ 4 2 4 2 4 6 2 6         
> whilst. y >: *: {. t do.              
>   whilst. #m do.                              
>     m=. (-. * t |!.0 y) # t           
>     f=. f , m                                 
>     y=. y % */ m                              
>   end.                                                        
>   t=. o + {: t                                        
> end.                                                  
> /:~ f , y -. 1
> )
> 
> smoutput 0 : 0
> NB. TRY ...
> factors 576460752303423487x     NB. (2^59)-1 extended precision
> NB. should respond with: 179951 3203431780337
> 6!:2 'factors 576460752303423487x'
> 6!:2 'factors 576460752303423487'
> )
> 
> ----
> 
>    JVERSION
> Engine: j701/2011-01-10/11:25
> Library: 7.01.042
> Platform: Darwin 32
> Installer: j701a_mac_intel.dmg
> InstallPath: /Applications/j701
> 
>    6!:2 'factors 576460752303423487x'
> 1.42849
>    6!:2 'factors 576460752303423487'
> 0.00021698
> 
> ----
> 
>    JVERSION
> Engine: j701/2011-01-10/11:25 build: Feb  6 2011 16:16:29
> Library: 7.01.043
> Platform: Darwin 64
> Installer: j701a_mac64.dmg
> 
> InstallPath: /Applications/j64-701
> 
>    6!:2 'factors 576460752303423487x'
> 1.19236
>    6!:2 'factors 576460752303423487'
> ... lots of disk activity, no reponse. Force Quit after 1 min.
> ...Tried it twice.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to