From: Luciano Moreira - igLnx <lucianolnx@ig.com.br>
To: linux-c-programming <linux-c-programming@vger.kernel.org>
Subject: 64 bits integer - ERRATA
Date: Wed, 10 Nov 2004 00:31:20 -0300 [thread overview]
Message-ID: <41918B88.3060807@ig.com.br> (raw)
Excuse me, when I say "64 bits", I m assuming that the OS are running
under a processor with 32 bits only, where "long" type ll have only 32
bits and "double" could has 64 bits, but it isn't a integer, in other
hands, I couldn't convert a double to a text string assuming that it is
integer with a function like printf().
Then, retrying the question:
Does exist a way or some system call or another thing in Linux that
allow us to manipulate integer values larger than a system DWORD (long) ?
Samples:
- int64, atoi64(), i64toa(), ...
- int128, atoi128(), i128toa(), ...
Luciano
-------- Mensagem Original --------
Assunto: 64 bits integer
Data: Tue, 09 Nov 2004 22:30:57 -0300
De: Luciano Moreira - igLnx <lucianolnx@ig.com.br>
Para: linux-c-programming <linux-c-programming@vger.kernel.org>
How can we do to manipulate integer higher than 32 bits in linux ?
Does exist some system call (or another library), that allow us to do
something like as following ?
int64 x;
x = atoi64("12345678901234567890");
char x[21];
i64toa(x, sizeof(x));
Thanks,
Luciano
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2004-11-10 3:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 3:31 Luciano Moreira - igLnx [this message]
2004-11-10 13:57 ` 64 bits integer - ERRATA glynn
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=41918B88.3060807@ig.com.br \
--to=lucianolnx@ig.com.br \
--cc=linux-c-programming@vger.kernel.org \
/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 NNTP newsgroup(s).