include/sge/math/power.hpp File Reference

#include <cmath>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/type_traits/is_unsigned.hpp>
#include "dim.hpp"

Go to the source code of this file.

Namespaces

namespace  sge
namespace  sge::math

Classes

struct  sge::math::next_pow_2_implementation< is_integral >
struct  sge::math::sge::math::next_pow_2_implementation< true >

Functions

template<typename Base, typename Exp>
Base sge::math::pow_int (const Base base, const Exp e)
template<typename T>
sge::math::next_pow_2 (const T t)
template<typename T>
basic_dim< T, 2 > sge::math::next_pow_2 (const basic_dim< T, 2 > &r)
template<typename T>
boost::enable_if
< boost::is_unsigned< T >
, bool >::type 
sge::math::is_power_of_2 (const T t)
template<typename T>
boost::enable_if
< boost::is_unsigned< T >
, bool >::type 
sge::math::is_power_of_2 (const basic_dim< T, 2 > &d)
template<typename T>
sge::math::quad (T const &t)


Generated on Wed Sep 10 22:17:46 2008 for sge by  doxygen 1.5.5