diff options
| author | Paul Eggert | 2011-05-01 19:58:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-01 19:58:08 -0700 |
| commit | a108c10b7ae69e5f782c83be925c168e007874fb (patch) | |
| tree | 0dde94f78ed514445cae11fa159c95ccb7822865 /src/ChangeLog | |
| parent | ad5f9eeaa2f0f872e063849f8f0d24d2c200acfa (diff) | |
| download | emacs-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/ChangeLog | 10 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-04-30 Paul Eggert <eggert@cs.ucla.edu> | 11 | 2011-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". |