unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Ivan Andrus <darthandrus@gmail.com>
Cc: 34792@debbugs.gnu.org
Subject: bug#34792: 27.0.50; format %x and %X don't print as unsigned
Date: Fri, 08 Mar 2019 21:03:49 -0500	[thread overview]
Message-ID: <1vwol8ls6y.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <79489389-7B99-4F84-BC48-3AF622B8EF26@gmail.com> (Ivan Andrus's message of "Fri, 8 Mar 2019 17:58:19 -0700")

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.





  reply	other threads:[~2019-03-09  2:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-09  0:58 bug#34792: 27.0.50; format %x and %X don't print as unsigned Ivan Andrus
2019-03-09  2:03 ` Glenn Morris [this message]
2019-03-09 18:48   ` Ivan Andrus
2019-03-09 22:54     ` Glenn Morris
2019-03-11  6:49       ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1vwol8ls6y.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=34792@debbugs.gnu.org \
    --cc=darthandrus@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).