NCEPLIBS-g2c 2.0.0
Loading...
Searching...
No Matches
mkieee.c File Reference

Store a list of real values in 32-bit IEEE floating point format. More...

#include "grib2_int.h"
#include <math.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

void mkieee (float *a, g2int *rieee, g2int num)
 Store a list of real values in 32-bit IEEE floating point format.
 

Detailed Description

Store a list of real values in 32-bit IEEE floating point format.

Author
Stephen Gilbert
Date
2002-10-29

Definition in file mkieee.c.

Function Documentation

◆ mkieee()

void mkieee ( float *  a,
g2int rieee,
g2int  num 
)

Store 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().