SPUC
3.0
|
Templated Quantize function. More...
#include <spuc/spuc_types.h>
#include <cmath>
#include <spuc/quantized_type.h>
#include <spuc/quantizer.h>
Namespaces | |
SPUC | |
fixed point types: spuc_fixed,spuc_ufixed,spuc_int,spuc_uint | |
Functions | |
template<typename T > | |
quantized_type< T >::dtype | SPUC::quantize (T in) |
Templated Quantize function template function that uses a class to allow template specialization. More... | |
template<typename T > | |
T | SPUC::quantize_scale (float_type x, float_type ox, T y) |
Templated Quantize function.