]> git.eshelyaron.com Git - emacs.git/commit
Port better to x86 -fexcess-precision=fast
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 Aug 2018 22:28:20 +0000 (15:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 Aug 2018 22:31:28 +0000 (15:31 -0700)
commita84cef90957f2379cc0df6bd908317fc441971ce
treeec13b83e5b54cb7c4757dad817ac7fadc0fc2c28
parent2b1cac26855b99644b00a839f7ea25446d997572
Port better to x86 -fexcess-precision=fast

Problem reported by Eli Zaretskii in:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00380.html
* src/data.c (arithcompare): Work around incompatibility
between gcc -fexcess-precision=fast and the C standard on x86,
by capturing the results of floating-point comparisons before
the excess precision spontaneously decays.  Although this fix
might not work in general, it does work here and is probably
good enough for the platforms we care about.
src/data.c