Pothos  0.5.0-ga4964040
The Pothos dataflow programming software suite
Classes | Namespaces | Functions
QFormat.hpp File Reference
#include <Pothos/Config.hpp>
#include <type_traits>
#include <complex>
#include <cmath>

Go to the source code of this file.

Classes

struct  Pothos::Util::Fundamental< T >
 Determine the fundamental data type of T for primitive types. More...
 
struct  Pothos::Util::Fundamental< std::complex< T > >
 Overload for getting the fundamental type of std::complex<T> More...
 

Namespaces

 Pothos
 
 Pothos::Util
 

Functions

template<typename T , typename U >
Pothos::Util::fromQ (const U &in, const int n)
 
template<typename T , typename U >
Pothos::Util::fromQ (const U &in)
 
template<typename T , typename U >
Pothos::Util::floatToQ (const U &in, const int n)
 
template<typename T , typename U >
Pothos::Util::floatToQ (const U &in)
 

Detailed Description

Templated fixed point utilities and Q-format conversions.