• Paul Eggert's avatar
    Avoid losing info when formatting integers · 80e145fc
    Paul Eggert authored
    * 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.
    80e145fc
editfns.c 170 KB