From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Matt Minnis <mminnis@prefres.com>
Cc: gcc@gcc.gnu.org
Subject: Re: GNU long long
Date: Fri, 22 Sep 2000 13:33:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.21.0009222128290.17640-100000@kern.srcf.societies.cam.ac.uk> (raw)
In-Reply-To: <5.0.0.25.2.20000922113940.024967b0@mail.prefres.com>
On Fri, 22 Sep 2000, Matt Minnis wrote:
> For the GNU long long support, what is the proper printf specifier for the
> long long type?
> (Both signed and unsigned)
long long is now part of the C standard; use "%lld" for signed and "%llu"
for unsigned. However, you'll need to check that your C library supports
these specifiers (try printf("%lld\n", 1000000000000LL)); GCC does not
provide a C library.
--
Joseph S. Myers
jsm28@cam.ac.uk
next prev parent reply other threads:[~2000-09-22 13:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-22 9:32 Coding convention: use of `!x' vs. `! x' Richard Kenner
2000-09-22 9:41 ` GNU long long Matt Minnis
2000-09-22 13:33 ` Joseph S. Myers [this message]
2000-09-22 9:50 ` Coding convention: use of `!x' vs. `! x' David Edelsohn
2000-09-22 10:22 ` Tim Hollebeek
2000-09-22 10:22 ` Gabriel Dos Reis
2000-09-30 9:52 ` Mark Mitchell
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=Pine.LNX.4.21.0009222128290.17640-100000@kern.srcf.societies.cam.ac.uk \
--to=jsm28@cam.ac.uk \
--cc=gcc@gcc.gnu.org \
--cc=mminnis@prefres.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).