|
NCEPLIBS-g2
3.4.8
|
mova2i Moves a bit string from a char*1 to int More...
Go to the source code of this file.
Functions | |
| int | mova2i_ (unsigned char *a) |
| This Function copies a bit string from a Character*1 variable to an integer variable. More... | |
| int mova2i_ | ( | unsigned char * | a | ) |
This Function copies a bit string from a Character*1 variable to an integer variable.
It 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.
| [in] | a | - Character*1 variable that holds the bitstring to extract |