SPUC
3.0
|
#include <spuc_fixed_roundsat.h>
Static Public Member Functions | |
template<int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode SPUC_Q_MODE_1, spuc_o_mode SPUC_O_MODE_1> | |
static int_size_needed < INT_BITS_1+Template_Max < TOTAL_BITS_1-INT_BITS_1, FRAC_BITS_ >::maxval > ::int_type | shift_function (const spuc_fixed< TOTAL_BITS_1, INT_BITS_1, SPUC_Q_MODE_1, SPUC_O_MODE_1 > &a) |
Default shift function is truncate!!! More... | |
template<int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode SPUC_Q_MODE_1, spuc_o_mode SPUC_O_MODE_1> | |
static int_size_needed < INT_BITS_1+Template_Max < TOTAL_BITS_1-INT_BITS_1, FRAC_BITS_ >::maxval > ::int_type | shift_function (const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, SPUC_Q_MODE_1, SPUC_O_MODE_1 > &a) |
A template class to wrap "shift" functions that can be specialized for fixed-point types
|
inlinestatic |
Default shift function is truncate!!!
|
inlinestatic |