NCEPLIBS-g2
3.5.0
|
Move bits from a char*1 to an int. More...
Go to the source code of this file.
Functions | |
int | g2_mova2i8_ (unsigned char *a) |
Derefrence char pointer and cast result as 64-bit int. More... | |
int | g2_mova2i_ (unsigned char *a) |
Derefrence char pointer and cast result as 32-bit int. More... | |
int g2_mova2i8_ | ( | unsigned char * | a | ) |
int g2_mova2i_ | ( | unsigned char * | a | ) |
Derefrence char pointer and cast result as 32-bit int.
This function is intended to replace the Fortran Intrinsic Function ICHAR, which only supports 0 <= ICHAR(a) <= 127 on the IBM SP. If "a" is greater than 127 in the collating sequence, ICHAR(a) does not return the expected bit value. This function can be used for all values 0 <= ICHAR(a) <= 255.
a | Pointer to char. |