GNU bug report logs - #19025
24.4; precision error when adding two floats

Previous Next

Package: emacs;

Reported by: "Kevin W. Currey" <kevalier68 <at> hotmail.com>

Date: Wed, 12 Nov 2014 01:25:02 UTC

Severity: normal

Tags: notabug

Found in version 24.4

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #21 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexis <flexibeast <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#19025: 24.4; precision error when adding two floats
Date: Wed, 12 Nov 2014 13:42:48 +1100
Jay Belanger writes:

>> Isn't this an artifact of the nature of floating-point arithmetic,
>> rather than an issue with Emacs per se?
>
> Yes, although it probably wouldn't be a bad idea to point out this
> issue in the Elisp documentation.

*nod* And perhaps mention Calc functions, which can work with a
specified precision?

(Assuming we can't simply link to e.g. http://floating-point-gui.de/ :-) )


Alexis.




This bug report was last modified 10 years and 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.