From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Gawk printf problem with negative numbers
Date: Wed, 29 Oct 2003 12:03:00 -0000 [thread overview]
Message-ID: <20031029085639.GG1653@cygbert.vinschen.de> (raw)
In-Reply-To: <T65902760dfc0a87563404@sausmailstop.sciatl.com>
On Tue, Oct 28, 2003 at 05:28:23PM -0500, kenneth.shaffer@sciatl.com wrote:
Content-Description: Mail message body
> I expected the output of a negative 1234 in hex to look like 0xfffffb2e:
>
> > echo |gawk '{n = -1234; printf("0x%x\n",n+0)}'
> 0x-1234
>
> > gawk --version
> GNU Awk 3.1.3
>
> running under cygwin for the PC.
>
> I believe the INTMAX_MIN mentioned in an earlier thread has something to do with it.
Correct. I've uploaded a new gawk package. The definition of INTMAX_MIN
has been fixed in current CVS.
Thanks for the report.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2003-10-29 8:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-29 6:04 kenneth.shaffer
2003-10-29 8:52 ` Shankar Unni
2003-10-29 8:56 ` Igor Pechtchanski
2003-10-29 12:03 ` Corinna Vinschen [this message]
2003-10-29 16:07 Ken Shaffer
2003-10-29 16:38 ` Corinna Vinschen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031029085639.GG1653@cygbert.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.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.
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).