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


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 8525 <at> debbugs.gnu.org
Subject: Re: bug#8525: Lisp reader and string-to-number bugs and
	inconsistencies
Date: Sun, 24 Apr 2011 01:43:30 -0300
> * It's easy to use floats for huge base-10 numbers, but there's no
>   portable and accurate way to convert huge non-base-10 values to
>   floats.  This patch still signals overflow for cases like
>   (string-to-number "ffffffffffffffffffffffffff" 16) where the integer
>   cannot be represented as a 64-bit number.  This is the best we can

That's perfectly fine.


        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.