[Top][All Lists]

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

Re: Floating-point constant folding in Emacs byte compiler

From: Eli Zaretskii
Subject: Re: Floating-point constant folding in Emacs byte compiler
Date: Fri, 23 Mar 2018 11:15:46 +0300

> From: Stefan Monnier <address@hidden>
> Date: Thu, 22 Mar 2018 21:26:00 -0400
> > These discrepancies mean that .elc files containing floating-point constants
> > might not be platform-independent, in that byte-compiling a file on one
> > machine X and running it on another machine Y can yield different results
> > than byte-compiling and running the same file on Y. Is this sort of
> > discrepancy intended?
> I'm pretty sure those runtime differences are not on-purpose, so whether
> they show up at run-time or compile-time doesn't matter.
> IOW we can keep optimizing those.

I don't understand your conclusion: if this is unintended, then IMO we
should stop optimizing these, so that byte code is more portable.  Or
am I missing something?

reply via email to

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