Searched defs:number_traits (Results 1 – 8 of 8) sorted by relevance
/cmsis-dsp-latest/dsppp/Include/dsppp/num_features/ |
D | q15.hpp | 17 struct number_traits<Q15> struct 20 static constexpr bool is_float = false; 22 static constexpr bool is_fixed = true; 24 typedef Q<33,30> accumulator; 30 static constexpr Q15 one() {return Q15::one();}; in one() 32 typedef Q15 compute_type;
|
D | q31.hpp | 17 struct number_traits<Q31> struct 20 static constexpr bool is_float = false; 22 static constexpr bool is_fixed = true; 24 typedef Q<15,48> accumulator; 30 static constexpr Q31 one() {return Q31::one();}; in one() 33 typedef Q31 compute_type;
|
D | q7.hpp | 17 struct number_traits<Q7> struct 20 static constexpr bool is_float = false; 23 static constexpr bool is_fixed = true; 26 typedef Q<17,14> accumulator; 33 static constexpr Q7 one() {return Q7::one();}; in one() 37 typedef Q7 compute_type;
|
D | double.hpp | 18 struct number_traits<double> struct 21 static constexpr bool is_float = true; 24 static constexpr bool is_fixed = false; 27 typedef double accumulator; 34 static constexpr double one() {return 1.0;}; in one() 37 typedef double compute_type;
|
D | float.hpp | 17 struct number_traits<float> struct 20 static constexpr bool is_float = true; 23 static constexpr bool is_fixed = false; 26 typedef float accumulator; 33 static constexpr float one() {return 1.0f;}; in one() 36 typedef float compute_type;
|
D | half.hpp | 23 struct number_traits<float16_t> struct 26 static constexpr bool is_float = true; 28 static constexpr bool is_fixed = false; 30 typedef float16_t accumulator; 37 static constexpr float16_t one() {return ((float16_t)1.0f);}; in one() 40 typedef _Float16 compute_type;
|
D | group.hpp | 20 struct number_traits<std::tuple<E...>> struct 29 typedef std::tuple<typename number_traits<E>::accumulator...> accumulator; argument 32 typedef std::tuple<typename number_traits<E>::compute_type...> compute_type; argument 39 static std::tuple<typename number_traits<E>::accumulator...> one() in one() argument
|
/cmsis-dsp-latest/dsppp/Include/dsppp/ |
D | number.hpp | 87 struct number_traits<Q<M,F,S,T>> struct 89 …expr bool is_float = false; //!< False because scalar is not a float datatype (half, float, double) 90 static constexpr bool is_fixed = true; //!< True because datatype is a fixed point arithmetic one 96 static constexpr Q<M,F,S,T> one() {return Q<M,F,S,T>::one();}; in one()
|