Gnash  0.8.10
Namespaces | Functions
GnashNumeric.h File Reference
#include <cassert>
#include <cmath>
#include <algorithm>
#include <boost/cstdint.hpp>
#include <limits>
#include <boost/utility/enable_if.hpp>

Go to the source code of this file.

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Functions

bool gnash::isFinite (double d)
double gnash::infinite_to_zero (double x)
template<typename T >
gnash::clamp (T i, T min, T max)
template<typename T >
gnash::lerp (T a, T b, T f)
int gnash::frnd (float f)
double gnash::twipsToPixels (int i)
template<size_t Factor>
boost::int32_t gnash::truncateWithFactor (double a)
boost::int32_t gnash::pixelsToTwips (double a)