Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omFixed.h File Reference
#include "omMathConfig.h"

Classes

class  om::math::Fixed< BaseType, fractionalBits >
 A class that represents a fixed-point number. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

template<typename T , typename BaseType , Size fractionalBits>
Bool om::math::operator== (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Bool om::math::operator!= (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Bool om::math::operator<= (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Bool om::math::operator>= (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Bool om::math::operator< (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Bool om::math::operator> (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Fixed< BaseType, fractionalBits > om::math::operator+ (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Fixed< BaseType, fractionalBits > om::math::operator- (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Fixed< BaseType, fractionalBits > om::math::operator* (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
Fixed< BaseType, fractionalBits > om::math::operator/ (T a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
T & om::math::operator+= (T &a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
T & om::math::operator-= (T &a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
T & om::math::operator*= (T &a, const Fixed< BaseType, fractionalBits > &b)
 
template<typename T , typename BaseType , Size fractionalBits>
T & om::math::operator/= (T &a, const Fixed< BaseType, fractionalBits > &b)