[movitz-cvs] CVS update: movitz/losp/muerte/typep.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Wed Jun 2 23:48:46 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv2756

Modified Files:
	typep.lisp 
Log Message:
Added bignum for typep.

Date: Wed Jun  2 16:48:46 2004
Author: ffjeld

Index: movitz/losp/muerte/typep.lisp
diff -u movitz/losp/muerte/typep.lisp:1.12 movitz/losp/muerte/typep.lisp:1.13
--- movitz/losp/muerte/typep.lisp:1.12	Mon May 24 07:59:01 2004
+++ movitz/losp/muerte/typep.lisp	Wed Jun  2 16:48:45 2004
@@ -9,7 +9,7 @@
 ;;;; Created at:    Fri Dec  8 11:07:53 2000
 ;;;; Distribution:  See the accompanying file COPYING.
 ;;;;                
-;;;; $Id: typep.lisp,v 1.12 2004/05/24 14:59:01 ffjeld Exp $
+;;;; $Id: typep.lisp,v 1.13 2004/06/02 23:48:45 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -174,6 +174,8 @@
 		 `(with-inline-assembly (:returns :boolean-zf=1)
 		    (:compile-form (:result-mode :eax) ,object)
 		    (:testb ,movitz::+movitz-fixnum-zmask+ :al)))
+		((bignum)
+		 (make-other-typep :bignum))
 		((integer number rational)
 		 `(with-inline-assembly-case ()
 		    (do-case (t :boolean-zf=1 :labels (done))
@@ -510,8 +512,7 @@
   (typep x 'fixnum))
 
 (define-simple-typep (bignum bignump) (x)
-  (declare (ignore x))
-  nil)
+  (typep x 'bignum))
 
 (define-simple-typep (number numberp) (x)
   "Currently, only integer numbers are supported."





More information about the Movitz-cvs mailing list