---
name: "mkieee.c"
section: "3"
platform: "linux"
package: "libg2c-dev"
version: "2.1.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mkieee.c"
---

# mkieee.c(3)

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

## NAME

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

## SYNOPSIS

`#include 'grib2_int.h'`\
 `#include <math.h>`\
 `#include <stdlib.h>`\

### 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

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

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

**Parameters**

*a* Input array of floating point values. \
 *num* Number of floating point values to convert. \
 *rieee* Output 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()**.

## Author

Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
