diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-08 20:55:55 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-08 20:57:01 -0800 |
commit | 80e145fc96765cc0a0f48ae2425294c8c92bce56 (patch) | |
tree | 25664bb27068449a082973736e35e1c43bee249b /test/lisp/emacs-lisp/map-tests.el | |
parent | cb0f6348956761880069e8ff7ed5086a177a521a (diff) | |
download | emacs-80e145fc96765cc0a0f48ae2425294c8c92bce56.tar.gz emacs-80e145fc96765cc0a0f48ae2425294c8c92bce56.tar.bz2 emacs-80e145fc96765cc0a0f48ae2425294c8c92bce56.zip |
Avoid losing info when formatting integers
* doc/lispref/numbers.texi (Integer Basics): Clarify that
out-of-range integers are treated as floating point only when the
integers are decimal.
* etc/NEWS: Mention changes.
* src/editfns.c (styled_format): Use %.0f when formatting %d or %i
values outside machine integer range, to avoid losing info.
Signal an error for %o or %x values that are too large to be
formatted, to avoid losing info.
Diffstat (limited to 'test/lisp/emacs-lisp/map-tests.el')
0 files changed, 0 insertions, 0 deletions