GNU bug report logs -
#30408
24.5; (format "%x" large-number) produces incorrect results
Previous Next
Reported by: David Sitsky <david.sitsky <at> gmail.com>
Date: Sat, 10 Feb 2018 07:03:02 UTC
Severity: wishlist
Found in version 24.5
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
As suggested in `read-integer-overflow-as-float' docstring:
Non-nil means ‘read’ quietly treats an out-of-range integer as
floating point. Nil (the default) means signal an overflow unless
the integer ends in ‘.’. This variable is experimental; email
30408 <at> debbugs.gnu.org if you need it.
(Note that the last sentence is a bit ambiguous: does "if you need it"
refer to sending an email or to the variable?)
Apparently I need (setq read-integer-overflow-as-float t) since I've
been hit by bugs here. But what are the consequences of setting this
to `t', aside from silencing a few errors? What is the usefulness of
not setting it to `t'? What is the experiment about? Can I get rid
of this setting when the experiment is over?
Since `read-integer-overflow-as-float' is the entry point for those
who are not aware of the experiment, some guidance in the docstring
might be useful.
Thanks,
--
Bastien
This bug report was last modified 7 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.