GNU bug report logs -
#34792
27.0.50; format %x and %X don't print as unsigned
Previous Next
Reported by: Ivan Andrus <darthandrus <at> gmail.com>
Date: Sat, 9 Mar 2019 00:59:01 UTC
Severity: normal
Found in version 27.0.50
Done: Ivan Andrus <darthandrus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Mar 8, 2019, at 7:03 PM, Glenn Morris <rgm <at> gnu.org> wrote:
>
> Ivan Andrus wrote:
>
>> The following snippets return strings with negative signs, but the
>> docstring of format says they should be unsigned.
>
> See etc/NEWS 'Numbers formatted via...'
>
> I don't understand the "bignums, a planned feature." in that entry.
> It makes it sound like bignum will be implemented in future, but they
> already are?
>
> Also the sense of the entry seems backwards, since binary-as-unsigned is
> nil by default (but from editfns.c I see "it depends").
>
> Anyway, it seems like the doc the 'format' function wasn't updated.
Thanks! I should have thought to check NEWS.
I took the liberty for pushing a change to the docstring to master. Hopefully, it's acceptable.
-Ivan
This bug report was last modified 6 years and 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.