SPUC
3.0
|
Templated saturation functions. More...
#include <spuc/spuc_types.h>
#include <cmath>
Namespaces | |
SPUC | |
fixed point types: spuc_fixed,spuc_ufixed,spuc_int,spuc_uint | |
Functions | |
template<class T > | |
T | SPUC::real_saturate (T in, long bits) |
Templated saturation functions. More... | |
template<> | |
long | SPUC::real_saturate (long in, long bits) |
Templated saturation functions. More... | |
template<> | |
int | SPUC::real_saturate (int in, long bits) |
template<> | |
double | SPUC::real_saturate (double in, long bits) |
template<> | |
float | SPUC::real_saturate (float in, long bits) |
Templated saturation functions.