aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-05-01 19:58:08 -0700
committerPaul Eggert2011-05-01 19:58:08 -0700
commita108c10b7ae69e5f782c83be925c168e007874fb (patch)
tree0dde94f78ed514445cae11fa159c95ccb7822865 /src/ChangeLog
parentad5f9eeaa2f0f872e063849f8f0d24d2c200acfa (diff)
downloademacs-a108c10b7ae69e5f782c83be925c168e007874fb.tar.gz
emacs-a108c10b7ae69e5f782c83be925c168e007874fb.zip
* lread.c (read_integer): Be more consistent with string-to-number.
Use string_to_number to do the actual conversion; this avoids rounding errors and fixes some other screwups. Without this fix, for example, #x1fffffffffffffff was misread as -2305843009213693952. (digit_to_number): Move earlier, for benefit of read_integer. Return -1 if the digit is out of range for the base, -2 if it is not a digit in any supported base.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d043bf7f691..a93cc8d2a9d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12011-05-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 * lread.c (read_integer): Be more consistent with string-to-number.
4 Use string_to_number to do the actual conversion; this avoids
5 rounding errors and fixes some other screwups. Without this fix,
6 for example, #x1fffffffffffffff was misread as -2305843009213693952.
7 (digit_to_number): Move earlier, for benefit of read_integer.
8 Return -1 if the digit is out of range for the base, -2 if it is
9 not a digit in any supported base.
10
12011-04-30 Paul Eggert <eggert@cs.ucla.edu> 112011-04-30 Paul Eggert <eggert@cs.ucla.edu>
2 12
3 * doprnt.c (doprnt): Support arbitrary pI values, such as "I64". 13 * doprnt.c (doprnt): Support arbitrary pI values, such as "I64".