24 g2int j,n,ieee,iexp,imant;
26 static double two23, two126;
27 static g2int test = 0;
36 for (j = 0; j < num; j++)
81 ieee = ieee | ( iexp << 23 );
87 atemp = (atemp /
int_power(2.0, n)) - 1.0;
89 atemp = atemp * two126;
90 imant = (
g2int)rint(atemp * two23);
int64_t g2int
Long integer type.
Header file with internal function prototypes NCEPLIBS-g2c library.
double int_power(double x, g2int y)
Function similar to C pow() power function.
void mkieee(float *a, g2int *rieee, g2int num)
This subroutine stores a list of real values in 32-bit IEEE floating point format.