SPUC
3.0
|
Templated round function. 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_round (T in, long bits) |
Templated round function. More... | |
template<> | |
long | SPUC::real_round (long in, long bits) |
template<> | |
float | SPUC::real_round (float in, long bits) |
template<> | |
int | SPUC::real_round (int in, long bits) |
template<> | |
double | SPUC::real_round (double in, long bits) |
Templated round function.