Initialize 64-bit integer variables with 64-bit real values

I work with long arrays whose size is longer than 2^31 - 1