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, 26 Mar 2018 17:08:37 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/26/2018 10:52 AM, Stefan Monnier wrote:
I think TRT is for the byte-compiler to refrain from performing this
optimization when the result doesn't fit within 30bits.

Yes, this seems like the right way to go for Emacs, since we value reproducibility and safety over performance for numeric computation. I installed the attached patch into master, to try to do that.

Attachment: 0001-Fix-constant-folding-of-overflows.patch
Description: Text Data


reply via email to

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