bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7244: `characterp' signals overflow-error


From: MON KEY
Subject: bug#7244: `characterp' signals overflow-error
Date: Wed, 20 Oct 2010 11:15:45 -0400

On Mon, Oct 18, 2010 at 10:47 PM, Kenichi Handa <handa@m17n.org> wrote:
> In article <AANLkTinNtQyW9XQrC56RE0ZqKEsC2B=SQDZT=QX2mLoD@mail.gmail.com>, 
> MON KEY <monkey@sandpframing.com> writes:
>
>> (characterp 2536870911) signals overflow-error "2536870911")
>> ;=> Debugger entered--Lisp error: (overflow-error "2536870911")
>
>> Why should this happen esp. when `max-char' sits just below the definition in
>> src/character.c ??
>
> The error is signaled by Lisp reader; i.e. before characterp
> is executed.

OK. I didn't realize this.
This said,  I am not understanding _where_ the overflow boundary is,
e.g. following doesn't signal:

most-positive-fixnum
;=> 536870911 (#o3777777777, #x1fffffff)

(characterp 536870913)
;=> nil

> Kenichi Handa

--
/s_P\





reply via email to

[Prev in Thread] Current Thread [Next in Thread]