Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion size of a bignum

Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: Edi Weitz <spamt...@agharta.de>
Newsgroups: comp.lang.lisp
Subject: Re: size of a bignum
Date: Wed, 11 Aug 2004 22:19:22 +0200
Organization: No organization
Lines: 22
Message-ID: <87oelhwhpx.fsf@bird.agharta.de>
References: <2nmma9F2b28jU1@uni-berlin.de> <87brhl1y59.fsf@g.mccaughan.ntlworld.com>
 <2nmu8nF2f0o7U1@uni-berlin.de> <4116732E.1060100@earthlink.net>
 <86n015masj.fsf@goldenaxe.localnet> <2nokr7F2t6j2U1@uni-berlin.de>
 <87y8koy7yh.fsf@g.mccaughan.ntlworld.com> <2nr7bvF3nlfvU1@uni-berlin.de>
 <87acx2vobr.fsf@g.mccaughan.ntlworld.com> <2nvcpcF59d8tU1@uni-berlin.de>
Reply-To: spamt...@agharta.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.uni-berlin.de T+7KHF4dJBHtwJQeL72HFQnsTpu5Vo/Se/1MhKgDDZf+o9hTg=
X-Home-Page: http://weitz.de/
Mail-Copies-To: never
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Cancel-Lock: sha1:luAwZ+ZwZzIPPpK45srUzQicX0Q=

On Wed, 11 Aug 2004 21:12:37 +0200, Jim Newton <ji...@rdrop.com> wrote:

> however, i was (and still is not) clear to me how to make the bignum 0?

You can't. An integer is either a fixnum or a bignum but not both.

CLHS entry for system class INTEGER: "The types fixnum and bignum form
an exhaustive partition of type integer." (See glossary entry for
"exhaustive partition.")

Or see the entry for the type BIGNUM: "The type bignum is defined to
be exactly (and integer (not fixnum))."

Cheers,
Edi.

-- 

"Lisp doesn't look any deader than usual to me."
(David Thornley, reply to a question older than most languages)

Real email: (replace (subseq "spamt...@agharta.de" 5) "edi")