[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] RE: [Maxima] modulus
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] RE: [Maxima] modulus |
Date: |
02 Dec 2003 14:40:58 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
"Stavros Macrakis" <address@hidden> writes:
> > > In a fresh GCL 2.5.0, (expt 234 234234) immediately crashes with an
> > > illegal instruction (0xc000001d) at location 0x0053f611.
>
> > 1) Please try with latest gcl for windows, at
> > http://www.cs.utexas.edu/users/boyer/gcl
>
> I tried, but file not found:
> /users/~boyer/gcl/stable-binary/gcl_2.6.1.mingw32_japi_xdr_20031026.zip
>
OK this should be fixed now -- thanks!
> > hangs for a very long time trying to calculate the answer.
> > I cannot tell if this is a problem, or whether the number is
> > effectively too large to be processed in a reasonable amount
> > of time.
>
> Well, in Maxima (gcl 2.5.0) it returns in 1.2 secs (1Ghz Athlon), though
> displaying it takes far longer than that. The first 100 digits agree
> with bfloat, (234.0b0^234234, fpprec:100) and the last 30 agree with
> modular exponentiation (rat(234)^234234,modulus:10^34), and a couple of
> other cross-checks also agree, so I'm convinced it is giving the correct
> result.
>
Perhaps these maxima calls do not invoke (expt 234 234234)? Is there
another algorithm/implementation maxima provides natively?
Take care,
> -s
>
> Maxima 5.9.0 gcl 2.5.0 W2k mingw32 Athlon 1Ghz
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah