[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] 2.6.6 errors on SuSe 9.1
From: |
Andrei Zorine |
Subject: |
[Gcl-devel] 2.6.6 errors on SuSe 9.1 |
Date: |
Mon, 31 Jan 2005 20:28:18 +0300 |
User-agent: |
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc1) Gecko/20020417 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] 2.6.6 errors on SuSe 9.1,
Andrei Zorine <=