Skip to content
Snippets Groups Projects
Commit 3ec91793 authored by dtc's avatar dtc
Browse files

Do not use the hairy-type (and integer (not fixnum)) for the bignum

type, rather use a integer union type which is handled far better by
the type system; from Raymond Toy.
parent 2057879e
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/class.lisp,v 1.41 1998/07/24 17:17:50 dtc Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/class.lisp,v 1.42 2000/01/10 14:43:54 dtc Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -742,7 +742,8 @@
:inherits (integer rational real number generic-number)
:codes (#.vm:even-fixnum-type #.vm:odd-fixnum-type))
(bignum
:translation (and integer (not fixnum))
:translation (or (integer * (#.vm:target-most-negative-fixnum))
(integer (#.vm:target-most-positive-fixnum) *))
:inherits (integer rational real number generic-number)
:codes (#.vm:bignum-type))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment