GNU Radio 2.x: gri_float_to_short.cc File Reference

Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

# gri_float_to_short.cc File Reference

`#include <gri_float_to_short.h>`
`#include <math.h>`

Include dependency graph for gri_float_to_short.cc:

## Defines
#define | _ISOC9X_SOURCE
## Functions
void | gri_float_to_short (const float *in, short *out, int nsamples)

## Define Documentation

#define _ISOC9X_SOURCE

## Function Documentation

void gri_float_to_short | ( | const float * | in,
|  | short * | out,
|  | int | nsamples
| ) |

| convert array of floats to shorts with rounding and saturation.