A
Alex
Hi,
I am a little confused as to how numbers are represented as 64 bit
integers.
I have a file that is 2GB in size.
I call __stati64 and from the st_size attribute, I see that the size
is returned as:
High - 0
Low - 2147483648
I know that high and low are unsigned and can be a maximum of 2**32
(ie. 4,294,967,296 bytes 4Gb)
So my question is, how is a 5Gb file represented in st_size??
Would it be:
High - 1
Low - 1073741824
My hardrive on my laptop is not big enough to test this and I cannot
find an answer on the web.
I am a little confused as to how numbers are represented as 64 bit
integers.
I have a file that is 2GB in size.
I call __stati64 and from the st_size attribute, I see that the size
is returned as:
High - 0
Low - 2147483648
I know that high and low are unsigned and can be a maximum of 2**32
(ie. 4,294,967,296 bytes 4Gb)
So my question is, how is a 5Gb file represented in st_size??
Would it be:
High - 1
Low - 1073741824
My hardrive on my laptop is not big enough to test this and I cannot
find an answer on the web.