|
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
< TOTAL_BITS_ >::int_type | saturate_sfixed (const spuc_fixed< TOTAL_BITS_1, INT_BITS_1, SPUC_Q_MODE_1, SPUC_O_MODE_1 > &a) |
| Default saturate function is wrap! 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
< TOTAL_BITS_ >::int_type | saturate_sfixed (const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, SPUC_Q_MODE_1, SPUC_O_MODE_1 > &a) |
|
static int_size_needed
< TOTAL_BITS_ >::int_type | saturate (const max_int_type &a) |
|
static int_size_needed
< TOTAL_BITS_ >::int_type | usaturate (const max_int_type &a) |
|
template<int TOTAL_BITS_, spuc_o_mode SPUC_O_MODE_>
class SPUC::spuc_saturate_class_function< TOTAL_BITS_, SPUC_O_MODE_ >
A template class to wrap "saturate" functions that can be specialized for fixed-point types