Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

fixed.h File Reference

#include <stdlib.h>
#include <iostream>

Include dependency graph for fixed.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _GCC_TEMPLATE_BUG_   1

Functions

template<unsigned int SH>
fixed< SH > operator+ (int i, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator- (int i, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator * (int i, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator/ (int i, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator+ (double d, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator- (double d, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator * (double d, const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > operator/ (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator< (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator> (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator<= (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator>= (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator== (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator!= (double d, const fixed< SH > &f)
template<unsigned int SH>
bool operator< (int i, const fixed< SH > &f)
template<unsigned int SH>
bool operator> (int i, const fixed< SH > &f)
template<unsigned int SH>
bool operator<= (int i, const fixed< SH > &f)
template<unsigned int SH>
bool operator>= (int i, const fixed< SH > &f)
template<unsigned int SH>
bool operator== (int i, const fixed< SH > &f)
template<unsigned int SH>
bool operator!= (int i, const fixed< SH > &f)
template<unsigned int SH>
long int lrint (const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > fabs (const fixed< SH > &f)
template<unsigned int SH>
fixed< SH > sqrt (const fixed< SH > &f)


Define Documentation

#define _GCC_TEMPLATE_BUG_   1
 

Definition at line 7 of file fixed.h.


Function Documentation

template<unsigned int SH>
fixed<SH> fabs const fixed< SH > &  f  )  [inline]
 

Definition at line 162 of file fixed.h.

References true.

Referenced by CanvasCardPile::animatedMove(), CanvasCard::animatedMove(), Sheet::BesselI(), Sheet::BesselI0(), Sheet::BesselI1(), Sheet::BesselJ(), Sheet::BesselJ0(), Sheet::BesselJ1(), Sheet::BetaContinuedFraction(), Sheet::calculateFunction(), CzWINDOWEDFIR::coef(), Gfx::doAxialShFill(), Gfx::doPatternFill(), Gfx::doRadialShFill(), QOutputDev::drawImage(), QOutputDev::drawImageMask(), PostScriptFunction::exec(), Sheet::GammaContinuedFraction(), Sheet::GammaSeries(), StarField::init(), KAsteroidsView::processShip(), Opie::Ui::OImageEffect::shade(), TextPage::updateFont(), and Opie::Ui::OImageEffect::wave().

template<unsigned int SH>
long int lrint const fixed< SH > &  f  )  [inline]
 

Definition at line 157 of file fixed.h.

References fixed< SH >::f2i().

Referenced by QOutputDev::convertSubpath(), QOutputDev::drawChar(), QOutputDev::drawImage(), QOutputDev::drawImageMask(), QOutputDev::findText(), QOutputDev::matchFont(), q_col(), QOutputDev::startPage(), and QOutputDev::updateLineAttrs().

template<unsigned int SH>
fixed<SH> operator * double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 140 of file fixed.h.

References fixed< SH >::mul(), and true.

template<unsigned int SH>
fixed<SH> operator * int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 134 of file fixed.h.

References true.

template<unsigned int SH>
bool operator!= int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 155 of file fixed.h.

References fixed< SH >::i2f().

template<unsigned int SH>
bool operator!= double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 148 of file fixed.h.

References fixed< SH >::d2f().

template<unsigned int SH>
fixed<SH> operator+ double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 138 of file fixed.h.

References fixed< SH >::d2f(), and true.

template<unsigned int SH>
fixed<SH> operator+ int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 132 of file fixed.h.

References fixed< SH >::i2f(), and true.

template<unsigned int SH>
fixed<SH> operator- double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 139 of file fixed.h.

References fixed< SH >::d2f(), and true.

template<unsigned int SH>
fixed<SH> operator- int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 133 of file fixed.h.

References fixed< SH >::i2f(), and true.

template<unsigned int SH>
fixed<SH> operator/ double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 141 of file fixed.h.

References fixed< SH >::mul(), and true.

template<unsigned int SH>
fixed<SH> operator/ int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 135 of file fixed.h.

References fixed< SH >::div(), and true.

template<unsigned int SH>
bool operator< int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 150 of file fixed.h.

References f, i, and fixed< SH >::i2f().

template<unsigned int SH>
bool operator< double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 143 of file fixed.h.

References d, fixed< SH >::d2f(), and f.

template<unsigned int SH>
bool operator<= int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 152 of file fixed.h.

References f, i, and fixed< SH >::i2f().

template<unsigned int SH>
bool operator<= double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 145 of file fixed.h.

References d, fixed< SH >::d2f(), and f.

template<unsigned int SH>
bool operator== int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 154 of file fixed.h.

References fixed< SH >::i2f().

template<unsigned int SH>
bool operator== double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 147 of file fixed.h.

References fixed< SH >::d2f().

template<unsigned int SH>
bool operator> int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 151 of file fixed.h.

References fixed< SH >::i2f().

template<unsigned int SH>
bool operator> double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 144 of file fixed.h.

References fixed< SH >::d2f().

template<unsigned int SH>
bool operator>= int  i,
const fixed< SH > &  f
[inline]
 

Definition at line 153 of file fixed.h.

References fixed< SH >::i2f().

template<unsigned int SH>
bool operator>= double  d,
const fixed< SH > &  f
[inline]
 

Definition at line 146 of file fixed.h.

References fixed< SH >::d2f().

template<unsigned int SH>
fixed<SH> sqrt const fixed< SH > &  f  )  [inline]
 

Definition at line 168 of file fixed.h.

References abs, fixed< SH >::div(), and true.

Referenced by Sheet::BesselI(), Sheet::BesselI0(), Sheet::BesselI1(), Sheet::BesselJ(), Sheet::BesselJ0(), Sheet::BesselJ1(), Sheet::BesselK0(), Sheet::BesselK1(), Sheet::BesselY0(), Sheet::BesselY1(), Opie::Ui::OImageEffect::blend(), Sheet::calculateFunction(), Gfx::doRadialShFill(), PostScriptFunction::exec(), flushPaths(), Sheet::functionKurt(), Sheet::functionSkew(), Opie::Ui::OImageEffect::generateNoise(), GfxState::getTransformedFontSize(), OGfxEffect::gradient(), Opie::Ui::OImageEffect::gradient(), Opie::Ui::OImageEffect::implode(), QOutputDev::matchFont(), Calibrate::sanityCheck(), Opie::Ui::OImageEffect::shade(), Opie::Ui::OImageEffect::swirl(), GfxState::transformWidth(), and Opie::Ui::OImageEffect::unbalancedGradient().


Generated on Sat Nov 5 16:24:22 2005 for OPIE by  doxygen 1.4.2