in reply to Re: Is there a 64-bit hex()?
in thread Is there a 64-bit hex()?
So perl is providing the decimal equivalent of the 64 bit hex string given to it by saying that this hex string is equivalent to the following decimal number: 4,503,597,463,175,164.
The remaining question is about portability, or more specifically, will you get the same value regardless on which machine you run this perl code (ie would some other run produce a different decimal representation (assuming all would agree to interpret a 64 bit hex number as a 64-bit unsigned integer representation without any Endian manipulation needed, that is just straight binary from MSbit to LSbit from left to right) )?
And/Or would one even get an answer on some other machine (would some Perl interpreter, running on some hardware, not provide any result) ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Is there a 64-bit hex()?
by JavaFan (Canon) on Feb 10, 2009 at 21:29 UTC |