http://www.perlmonks.org?node_id=794714


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?

Replies are listed 'Best First'.
Re^4: Unpack 64 bit value
by ikegami (Patriarch) 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.