healpix_types
The parameters defined in healpix_types include
name | type | value^{3} | definition |
I1B | integer | 1 | number of bytes in the hardware-supported signed integers covering the range -99 to 99 with the least margin |
I2B | integer | 2 | same as above for the range -9999 to 9999 (ie, 4 digits) |
I4B | integer | 4 | same as above for 9 digits |
I8B | integer | 8 | same as above for 16 digits^{4} |
SP | integer | 4 | number of bytes in the hardware-supported floating-point numbers covering the range 10^{-30} to 10^{30} with the least margin (hereafter single precision) |
DP | integer | 8 | same as above for the range 10^{-200} to 10^{200} (double precision) |
SPC | integer | 4 | number of bytes in real (or imaginary) part of single precision complex numbers |
DPC | integer | 8 | same as above for double precision complex numbers |
LGT | integer | 4 | number of bytes in logical variables |
name | type or kind | value^{5} | definition |
MAX_I1B | integer | 127 | largest number accessible to integers of kind I1B |
MAX_I2B | integer | 32767 | same as above for I2B integers |
MAX_I4B | integer | same as above for I4B integers | |
MAX_I8B | I8B | same as above for I8B integers | |
MAX_SP | SP | same as above for SP floating-point | |
MAX_DP | DP | same as above for DP floating-point |
name | kind | value | definition |
QUARTPI | DP | ||
HALFPI | DP | ||
PI | DP | ||
TWOPI | DP | ||
FOURPI | DP | ||
SQRT2 | DP | ||
EULER | DP | Euler constant | |
SQ4PI_INV | DP | ||
TWOTHIRD | DP | 2/3 | |
DEG2RAD | DP | Degrees to Radians conversion factor | |
RAD2DEG | DP | Radians to Degrees conversion factor |
The value of PI, as well as all other healpix_types parameters are made known to the code
Version 3.31, 2017-01-06