GNU bug report logs -
#32252
[PATCH] %o and %x now format signed numbers
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Mon, 23 Jul 2018 19:14:02 UTC
Severity: normal
Tags: patch
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
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Mon, 23 Jul 2018 19:04:48 -0700
>
> ** Numbers formatted via %o or %x are now formatted as signed integers.
> Formerly they were formatted using machine-dependent two's complement
> representations. The new behavior is machine-independent, avoids
> misbehavior in calls like (read (format "#x%x" -1)), and is more
> compatible with bignums, a planned feature. To get the old behavior,
> set the new, experimental variable binary-as-unsigned to t and please
> email 32252 <at> debbugs.gnu.org if you need that. Because %o and %x now
> format signed integers, they now support the + and space flags.
> (Bug#32252).
Please don't put bug numbers in NEWS. If some bug is important for
NEWS (I doubt that it ever could be), describe it instead.
NEWS is for people who want to grasp changes at a glance, we shouldn't
bother them with looking up bugs.
This bug report was last modified 2 years and 322 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.