NCEPLIBS-g2c  1.6.4
mkieee.c File Reference
#include <stdlib.h>
#include <math.h>
#include "grib2.h"

Go to the source code of this file.

Functions

void mkieee (g2float *a, g2int *rieee, g2int num)
 This subroutine stores a list of real values in 32-bit IEEE floating point format. More...
 

Detailed Description

Author
Stephen Gilbert
Date
2002-10-29

Definition in file mkieee.c.

Function Documentation

◆ mkieee()

void mkieee ( g2float a,
g2int rieee,
g2int  num 
)

This subroutine stores a list of real values in 32-bit IEEE floating point format.

Parameters
aInput array of floating point values.
numNumber of floating point values to convert.
rieeeOutput array of data values in 32-bit IEEE format stored in g2int integer array. rieee must be allocated with at least 4*num bytes of memory before calling this function.
Author
Stephen Gilbert
Date
2002-10-29

Definition at line 21 of file mkieee.c.

References int_power().

Referenced by compack(), g2_addfield(), jpcpack(), misspack(), pngpack(), simpack(), and specpack().