GNU bug report logs - #8525
Lisp reader and string-to-number bugs and inconsistencies

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 20 Apr 2011 09:29:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 8525 <at> debbugs.gnu.org
Subject: bug#8525: Lisp reader and string-to-number bugs and inconsistencies
Date: Wed, 20 Apr 2011 10:08:23 -0300
> Emacs has several problems when converting strings to numbers:

Yes, they're mostly known.

> I plan to install the following patch to fix these problems, after

Looks pretty good, thanks.

> To fix (2), it's plausible to change the code in one of two ways:
> either silently treat large integers as floats, or signal an overflow.

We want to use floats rather than signal an overflow (this is evident
from the history of the code since the conversion to floats was added
somewhat recently).


        Stefan




This bug report was last modified 14 years and 30 days ago.

Previous Next


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