emacs-devel
[Top][All Lists]
Advanced

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

Re: documentation of integers, fixnums and bignums


From: Paul Eggert
Subject: Re: documentation of integers, fixnums and bignums
Date: Sat, 8 Sep 2018 16:37:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Stefan Monnier wrote:
encode-char could potentially return a value that cannot be
represented as a fixnum.
Can this still happen?  When?
When INDEX_TO_CODE_POINT returns a code point greater than
most-positive-fixnum, which can happen (in theory, at least) on 32-bit
platforms.

Can it, really?

I don't know of any way it could happen. So what you're saying is that we should install something like the attached patch?

Also, how about glyph-ids returned by font-variation-glyphs? Can they exceed fixnum range? If not, font-variation-glyphs could see a similar speedup.

Attachment: encode-char.diff
Description: Text Data


reply via email to

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