[armedbear-devel] BigNum question

archisman rudra archi.rudra at gmail.com
Tue Oct 9 19:42:59 UTC 2012


My confusion is whether it matters that  2147483648
< 1234567898723618080928927362387

Doesn't the type descriptor (INTEGER 2147483648) mean integers
upto 2147483648?

thanks

On Tue, Oct 9, 2012 at 3:12 PM, Erik Huelsmann <ehuels at gmail.com> wrote:

> Hi Archisman,
>
> On Tue, Oct 9, 2012 at 8:34 PM, archisman rudra <archi.rudra at gmail.com>wrote:
>
>> Is this correct behavior?
>>
>> CL-USER(17): (type-of 1234567898723618080928927362387)
>> (INTEGER 2147483648)
>>
>>
> Yes: BIGNUM is defined as "INTEGER, but not FIXNUM". (INTEGER 2147483648)
> is much more restrictive than BIGNUM: it disallows all negative values
> which are part of the BIGNUM definition.
>
> HTH,
>
> Erik.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20121009/b49852b6/attachment.html>


More information about the armedbear-devel mailing list