gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] 2.6.6 errors on SuSe 9.1


From: Camm Maguire
Subject: Re: [Gcl-devel] 2.6.6 errors on SuSe 9.1
Date: 09 Feb 2005 07:39:42 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks for the report!  Will be happy to look into this
on or about 2/15 when I get back in the saddle.  

Take care,


Andrei Zorine <address@hidden> writes:

> Hello, Lis{t,p}ers!
> I have two questions.
> 
> I have compiled gcl-2.6.6 on SuSe-Linux 9.1 machine, compilation
> process seemed OK But I get some errors:
> 1. Call to (time (+ 1 2)) produces "Error in - [or a callee]: NIL is
> not of type NUMBER." This error was also in 2.6.3, but I hoped it'd go
> away in new version of gcl
> 2. (room) gives "Error in NTH [or a callee]: Expected a FIXNUM" Same
> as in 2.6.3
> 
> The reason I went for 2.6.6 was slow-down after declare'ing variables
> in a function. I played with a Mersenne number tester:
> 
> (defun $mersenne(n)
>   (let* ((L 4) (q (integer-length n)))
>   ;(declare (type integer L q))
>   (cond ((<= q 2) (error "q must be >2")))
>   (dotimes (i (- q 2) (= 0 (mod L n)))
>     (setq L (mod (- (* L L) 2) n)))))
> 
> This function compiled as is ran faster than one compiled with
> (declare...) uncommented. The time difference was about 0.5 sec, which
> is significant for 2.8GHz P4 ( I tried n=2^11213-1 ).
> 
> --
> Andrei Zorine
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]