[fitsbits] 64-bit integers
Thierry Forveille
forveill at cfht.hawaii.edu
Wed May 4 19:33:33 EDT 2005
William Pence writes:
> - some languages only support signed 64-bit integers, and do not natively
> support unsigned 64-bit integers (e.g., Fortran and Java, I think). In
> these systems integer values greater than 2**63 would appear as negative
> values. Software applications that must support the full range of unsigned
> 64-bit integers could probably be written to test for any negative values,
> and then reinterpret the value as the correct unsigned value.
>
In a sense that's not a new problem, since we already have that situation
for BITPIX=16 and 32. For Fortran at least, not sure about Java.
More information about the fitsbits
mailing list