![]() |
![]() |
Public Types | |
typedef boost::make_unsigned < T >::type | unsigned_type |
Public Member Functions | |
BOOST_STATIC_ASSERT (boost::is_integral< T >::value) | |
template<typename CmpVal > | |
void | check_value (CmpVal const &cmp_val) const |
multiplicable_integral (int sign, unsigned_type ms, unsigned_type ls) | |
multiplicable_integral (T const &val) | |
Public Attributes | |
unsigned_type | m_ls |
unsigned_type | m_ms |
int | m_sign |
Static Public Attributes | |
static const unsigned_type | base = unsigned_type(1) << half_bits |
static const std::size_t | bits = CHAR_BIT * sizeof(T) |
static const std::size_t | half_bits = bits / 2 |
Friends | |
multiplicable_integral | operator* (multiplicable_integral const &a, multiplicable_integral const &b) |
bool | operator< (multiplicable_integral const &a, multiplicable_integral const &b) |
bool | operator> (multiplicable_integral const &a, multiplicable_integral const &b) |
typedef boost::make_unsigned<T>::type boost::geometry::strategy::side::detail::multiplicable_integral< T >::unsigned_type |
boost::geometry::strategy::side::detail::multiplicable_integral< T >::multiplicable_integral | ( | int | sign, |
unsigned_type | ms, | ||
unsigned_type | ls | ||
) |
boost::geometry::strategy::side::detail::multiplicable_integral< T >::multiplicable_integral | ( | T const & | val | ) | [explicit] |
boost::geometry::strategy::side::detail::multiplicable_integral< T >::BOOST_STATIC_ASSERT | ( | boost::is_integral< T >::value | ) |
void boost::geometry::strategy::side::detail::multiplicable_integral< T >::check_value | ( | CmpVal const & | cmp_val | ) | const |
multiplicable_integral operator* | ( | multiplicable_integral< T > const & | a, |
multiplicable_integral< T > const & | b | ||
) | [friend] |
bool operator< | ( | multiplicable_integral< T > const & | a, |
multiplicable_integral< T > const & | b | ||
) | [friend] |
bool operator> | ( | multiplicable_integral< T > const & | a, |
multiplicable_integral< T > const & | b | ||
) | [friend] |
const std::size_t boost::geometry::strategy::side::detail::multiplicable_integral< T >::bits = CHAR_BIT * sizeof(T) [static] |
const std::size_t boost::geometry::strategy::side::detail::multiplicable_integral< T >::half_bits = bits / 2 [static] |
const unsigned_type boost::geometry::strategy::side::detail::multiplicable_integral< T >::base = unsigned_type(1) << half_bits [static] |
int boost::geometry::strategy::side::detail::multiplicable_integral< T >::m_sign |
unsigned_type boost::geometry::strategy::side::detail::multiplicable_integral< T >::m_ms |
unsigned_type boost::geometry::strategy::side::detail::multiplicable_integral< T >::m_ls |
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |