GNU Radio 2.x: gri_float_to_char.cc File Reference

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

# gri_float_to_char.cc File Reference

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

Include dependency graph for gri_float_to_char.cc:

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

## Define Documentation

#define _ISOC9X_SOURCE

## Function Documentation

void gri_float_to_char | ( | const float * | in,
|  | char * | out,
|  | int | nsamples
| ) |

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