Searched refs:m_numerator (Results 1 – 1 of 1) sorted by relevance
114 : m_numerator(0) in segment_ratio()120 : m_numerator(nominator) in segment_ratio()126 inline Type const& numerator() const { return m_numerator; } in numerator()131 m_numerator = nominator; in assign()142 m_numerator = -m_numerator; in initialize()149 boost::numeric_cast<fp_type>(m_numerator) * scale() in initialize()154 inline bool is_zero() const { return math::equals(m_numerator, 0); } in is_zero()155 inline bool is_one() const { return math::equals(m_numerator, m_denominator); } in is_one()159 return m_numerator >= 0 && m_numerator <= m_denominator; in on_segment()164 return m_numerator > 0 && m_numerator < m_denominator; in in_segment()[all …]