SPUC  3.0
Namespaces | Functions
spuc_ufixed_functions.h File Reference
#include <iostream>
Include dependency graph for spuc_ufixed_functions.h:

Namespaces

 SPUC
 fixed point types: spuc_fixed,spuc_ufixed,spuc_int,spuc_uint
 

Functions

template<int NINT, int NFRC, SPUC::spuc_q_mode SPUC_Q_MODE, SPUC::spuc_o_mode SPUC_O_MODE>
std::ostream & operator<< (std::ostream &os, const SPUC::spuc_ufixed< NINT, NFRC, SPUC_Q_MODE, SPUC_O_MODE > &r)
 Dont include in namespace. More...
 
template<int NINT, int NFRC, SPUC::spuc_q_mode SPUC_Q_MODE, SPUC::spuc_o_mode SPUC_O_MODE>
std::istream & operator>> (std::istream &os, const SPUC::spuc_ufixed< NINT, NFRC, SPUC_Q_MODE, SPUC_O_MODE > &r)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed
< Template_Max_Total_Bits
< TOTAL_BITS_, INT_BITS_,
TOTAL_BITS_1, INT_BITS_1 >
::maxval+1, Template_Max
< INT_BITS_, INT_BITS_1 >
::maxval+1, QMODE, OMODE > 
SPUC::operator+ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed
< Template_Max_Total_Bits
< TOTAL_BITS_, INT_BITS_,
TOTAL_BITS_1, INT_BITS_1 >
::maxval+1, Template_Max
< INT_BITS_, INT_BITS_1 >
::maxval+1, QMODE, OMODE > 
SPUC::operator- (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed<(TOTAL_BITS_+TOTAL_BITS_1),(INT_BITS_+INT_BITS_1),
QMODE, OMODE > 
SPUC::operator* (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed<(TOTAL_BITS_+TOTAL_BITS_1),(INT_BITS_+INT_BITS_1),
QMODE, OMODE > 
SPUC::operator/ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed
< Template_Max_Total_Bits
< TOTAL_BITS_, INT_BITS_,
TOTAL_BITS_1, INT_BITS_1 >
::maxval, Template_Max
< INT_BITS_, INT_BITS_1 >
::maxval, QMODE, OMODE > 
SPUC::operator| (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed
< Template_Max_Total_Bits
< TOTAL_BITS_, INT_BITS_,
TOTAL_BITS_1, INT_BITS_1 >
::maxval, Template_Max
< INT_BITS_, INT_BITS_1 >
::maxval, QMODE, OMODE > 
SPUC::operator& (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
spuc_ufixed
< Template_Max_Total_Bits
< TOTAL_BITS_, INT_BITS_,
TOTAL_BITS_1, INT_BITS_1 >
::maxval, Template_Max
< INT_BITS_, INT_BITS_1 >
::maxval, QMODE, OMODE > 
SPUC::operator^ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
spuc_ufixed< TOTAL_BITS_+W,
INT_BITS_+W, QMODE, OMODE > 
SPUC::operator<< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_uint< W > &shift)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
spuc_ufixed< TOTAL_BITS_+W,
INT_BITS_+W, QMODE, OMODE > 
SPUC::operator<< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_int< W > &shift)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
spuc_ufixed< TOTAL_BITS_+W,
INT_BITS_+W, QMODE, OMODE > 
SPUC::operator>> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_uint< W > &shift)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
spuc_ufixed< TOTAL_BITS_+W,
INT_BITS_+W, QMODE, OMODE > 
SPUC::operator>> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_int< W > &shift)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
spuc_ufixed< TOTAL_BITS_,
INT_BITS_, QMODE, OMODE > 
SPUC::operator>> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const int &shift)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
spuc_ufixed< TOTAL_BITS_,
INT_BITS_, QMODE, OMODE > 
SPUC::operator<< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const int &shift)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
bool SPUC::operator== (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
bool SPUC::operator< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
bool SPUC::operator!= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
bool SPUC::operator> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
bool SPUC::operator<= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, int TOTAL_BITS_1, int INT_BITS_1, spuc_q_mode QMODE, spuc_q_mode QMODE1, spuc_o_mode OMODE, spuc_o_mode OMODE1>
bool SPUC::operator>= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const spuc_ufixed< TOTAL_BITS_1, INT_BITS_1, QMODE1, OMODE1 > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const double &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const double &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const double &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const double &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const double &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const double &a)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const spuc_uint< W > &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const spuc_uint< W > &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const spuc_uint< W > &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const spuc_uint< W > &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const spuc_uint< W > &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const spuc_uint< W > &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const spuc_uint< W > &a)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const spuc_uint< W > &a)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const spuc_uint< W > &a)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const spuc_uint< W > &a)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const spuc_uint< W > &a)
 
template<int W, int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const spuc_uint< W > &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator== (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator!= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator< (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator<= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator> (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE_, spuc_o_mode OMODE_>
bool SPUC::operator>= (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE_, OMODE_ > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator+ (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 Math Operations. More...
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator+ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b, const double &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator- (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator- (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const double &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator* (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator* (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const double &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator/ (const double &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator/ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const double &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator+ (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator+ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b, const int &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator- (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator- (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const int &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator* (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator* (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const int &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator/ (const int &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator/ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const int &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator+ (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator+ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b, const uint64_t &a)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator- (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator- (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const uint64_t &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator* (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator* (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const uint64_t &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator/ (const uint64_t &a, const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &b)
 
template<int TOTAL_BITS_, int INT_BITS_, spuc_q_mode QMODE, spuc_o_mode OMODE>
double SPUC::operator/ (const spuc_ufixed< TOTAL_BITS_, INT_BITS_, QMODE, OMODE > &a, const uint64_t &b)
 

Function Documentation

template<int NINT, int NFRC, SPUC::spuc_q_mode SPUC_Q_MODE, SPUC::spuc_o_mode SPUC_O_MODE>
std::ostream& operator<< ( std::ostream &  os,
const SPUC::spuc_ufixed< NINT, NFRC, SPUC_Q_MODE, SPUC_O_MODE > &  r 
)

Dont include in namespace.

template<int NINT, int NFRC, SPUC::spuc_q_mode SPUC_Q_MODE, SPUC::spuc_o_mode SPUC_O_MODE>
std::istream& operator>> ( std::istream &  os,
const SPUC::spuc_ufixed< NINT, NFRC, SPUC_Q_MODE, SPUC_O_MODE > &  r 
)