[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Gcl-devel] RE: [Maxima] modulus
From: |
Stavros Macrakis |
Subject: |
RE: [Gcl-devel] RE: [Maxima] modulus |
Date: |
Tue, 2 Dec 2003 12:19:51 -0500 |
> > 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
> 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.
-s
Maxima 5.9.0 gcl 2.5.0 W2k mingw32 Athlon 1Ghz