[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] 64 Bit integer in linux



Raju forced the electrons to say:
> Hi Prasad,
> Obviously what U'r looking for is double...
> 
> > On 17 Nov 1999 mlprasad@xxxxxxxxxxxx wrote:
> > 
> > > Hello Friends,
> > >  Can U pl. tell me if 64 bit integer is available in linux. 

Small problem...

double is not an integer type.

On linux, the correct 64 bit integer type is int64_t (after #include
<sys/types.h>).

Note that this is a GNU extension.

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.