Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Synopsis

namespace boost
{
namespace math
{

template < typename IntegerType >
   class gcd_evaluator;
template < typename IntegerType >
   class lcm_evaluator;

template < typename IntegerType >
   IntegerType  gcd( IntegerType const &a, IntegerType const &b );
template < typename IntegerType >
   IntegerType  lcm( IntegerType const &a, IntegerType const &b );

typedef see-below static_gcd_type;

template < static_gcd_type Value1, static_gcd_type Value2 >
   struct static_gcd;
template < static_gcd_type Value1, static_gcd_type Value2 >
   struct static_lcm;

}
}

PrevUpHomeNext