delorie.com/archives/browse.cgi | search |
From: | "Andy Fung" <tcdude AT concentric DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: 64 bit integers ??!? |
Date: | Mon, 19 Jan 1998 13:47:35 -0500 |
Organization: | Concentric Internet Services |
Lines: | 13 |
Message-ID: | <6a074r$gu4@examiner.concentric.net> |
References: | <69tlsd$lk2 AT examiner DOT concentric DOT net> <34C34232 DOT 1DC AT oce DOT nl> |
NNTP-Posting-Host: | ts008d47.hil-ny.concentric.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
>It is indeed possible. Use long long int. You can try following code: > >main() { > printf("%d\n", sizeof(long long int)); > } Strange, since an int is 32bit, I wonder 64bit integer are not declared at long int instead. Also, is it possible to use shifting of more than 32bits. I.E. : mynum << 48;
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |