Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Unpack 64 bit value

by salva (Monsignor)
on Sep 11, 2009 at 07:28 UTC ( #794714=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Unpack 64 bit value
in thread Unpack 64 bit value

...but native 64-bit arithmetic isn't supported by my compiler or it isn't enabled. Does any 32-bit compiler on a 32-bit platform have support for 64-bit arithmetic?

I believe that C99 specifies support for the long long int (64 bits or bigger) type as mandatory, so any modern compiler aiming to be C99 compliant should have 64 bits support.

My initial plan was to add a fallback mode able to handle 64 bit arithmetic with 32 bit ints (it shouldn't be too difficult) but until today nobody had asked for it so it just remained undone...

Can you give me the details of your system, OS, compiler, etc? are you sure it doesn't support 64 bit integers in any way?


Comment on Re^3: Unpack 64 bit value
Download Code
Re^4: Unpack 64 bit value
by ikegami (Pope) on Sep 11, 2009 at 14:17 UTC

    Can you give me the details of your system, OS, compiler, etc?

    My compiler is dated
    >cl /? Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for +80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

    Visual Studio 6.

    are you sure it doesn't support 64 bit integers in any way?

    No, I don't know one way or another.

    I believe that C99 specifies support for the long long int (64 bits or bigger) type as mandatory

    I withdraw my suggestion.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-09-23 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls