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

Go to the source code of this file.

Functions

void mkieee (float *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 ( float *  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 22 of file mkieee.c.

References int_power().

Referenced by aecpack_int(), compack(), g2_addfield(), jpcpack_int(), misspack(), pngpack_int(), simpack(), and specpack().