emacs-devel
[Top][All Lists]
Advanced

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

Re: Floating-point constant folding in Emacs byte compiler


From: Paul Eggert
Subject: Re: Floating-point constant folding in Emacs byte compiler
Date: Mon, 2 Apr 2018 12:20:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04/02/2018 07:48 AM, Stefan Monnier wrote:
we're not free to
merge two strings just because they're `equal`, whereas for floats
we are.
Yes, that's the key point here. I see that the Elisp documentation does not specify how eq behaves on floats with the same values, so I took a crack at specifying this the same way that Common Lisp and Scheme do by installing the attached into master. I doubt whether Common Lisp/Scheme semantics here will break real Elisp code in any significant way.

Attachment: 0001-Clarify-eq-on-floats.patch
Description: Text Data


reply via email to

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