Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::ratio_gcd< R1, R2 > Struct Template Reference

#include <ratio.hpp>

Inheritance diagram for boost::ratio_gcd< R1, R2 >:
Collaboration diagram for boost::ratio_gcd< R1, R2 >:

Public Types

typedef ratio< num, dentype
 

Public Attributes

BOOST_STATIC_CONSTEXPR
boost::intmax_t 
num = SIGN_N * ABS_N / GCD
 
BOOST_STATIC_CONSTEXPR
boost::intmax_t 
den = ABS_D / GCD
 

Member Typedef Documentation

template<boost::intmax_t N, boost::intmax_t D>
typedef ratio<num, den> boost::ratio< N, D >::type
inherited

Member Data Documentation

template<boost::intmax_t N, boost::intmax_t D>
BOOST_STATIC_CONSTEXPR boost::intmax_t boost::ratio< N, D >::den = ABS_D / GCD
inherited
template<boost::intmax_t N, boost::intmax_t D>
BOOST_STATIC_CONSTEXPR boost::intmax_t boost::ratio< N, D >::num = SIGN_N * ABS_N / GCD
inherited

The documentation for this struct was generated from the following file: