BOOST_MP_FORCEINLINE typename enable_if_c<number_category<B>::value == number_kind_integer, number<B, et_off> >::type operator % (const number<B, et_off>& a, const number<B, et_off>& b) { number<B, et_off> result; using default_ops::eval_modulus; eval_modulus(result.backend(), a.backend(), b.backend()); return BOOST_MP_MOVE(result); }
BOOST_MP_FORCEINLINE typename enable_if_c<is_compatible_arithmetic_type<V, number<B, et_off> >::value && (number_category<B>::value == number_kind_integer), number<B, et_off> >::type operator % (number<B, et_off>&& a, const V& b) { using default_ops::eval_modulus; eval_modulus(a.backend(), number<B, et_off>::canonical_value(b)); return static_cast<number<B, et_off>&&>(a); }
BOOST_MP_FORCEINLINE typename enable_if_c<number_category<B>::value == number_kind_integer, number<B, et_off> >::type operator % (number<B, et_off>&& a, const number<B, et_off>& b) { using default_ops::eval_modulus; detail::scoped_default_precision<multiprecision::number<B, et_off> > precision_guard(a, b); eval_modulus(a.backend(), b.backend()); return static_cast<number<B, et_off>&&>(a); }
BOOST_MP_FORCEINLINE number<B, et_off> operator % (const number<B, et_off>& a, const number<B, et_off>& b) { number<B, et_off> result; using default_ops::eval_modulus; eval_modulus(result.backend(), a.backend(), b.backend()); return BOOST_MP_MOVE(result); }
BOOST_MP_FORCEINLINE typename enable_if_c<is_compatible_arithmetic_type<V, number<B, et_off> >::value && (number_category<B>::value == number_kind_integer), number<B, et_off> >::type operator % (const V& a, const number<B, et_off>& b) { number<B, et_off> result; using default_ops::eval_modulus; eval_modulus(result.backend(), number<B, et_off>::canonical_value(a), b.backend()); return BOOST_MP_MOVE(result); }
BOOST_MP_FORCEINLINE typename enable_if<is_compatible_arithmetic_type<V, number<B, et_off> >, number<B, et_off> >::type operator % (const number<B, et_off>& a, const V& b) { number<B, et_off> result; using default_ops::eval_modulus; eval_modulus(result.backend(), a.backend(), number<B, et_off>::canonical_value(b)); return BOOST_MP_MOVE(result); }
BOOST_MP_FORCEINLINE typename enable_if_c<is_compatible_arithmetic_type<V, number<B, et_off> >::value && (number_category<B>::value == number_kind_integer), number<B, et_off> >::type operator % (const V& a, const number<B, et_off>& b) { detail::scoped_default_precision<multiprecision::number<B, et_off> > precision_guard(b); number<B, et_off> result; using default_ops::eval_modulus; eval_modulus(result.backend(), number<B, et_off>::canonical_value(a), b.backend()); return result; }
inline void eval_qr(const Backend& x, const Backend& y, Backend& q, Backend& r) { eval_divide(q, x, y); eval_modulus(r, x, y); }
BOOST_MP_FORCEINLINE typename enable_if_c<number_category<B>::value == number_kind_integer, number<B, et_off> >::type operator % (number<B, et_off>&& a, const number<B, et_off>& b) { using default_ops::eval_modulus; eval_modulus(a.backend(), b.backend()); return static_cast<number<B, et_off>&&>(a); }
BOOST_MP_FORCEINLINE number<B, et_off> operator % (number<B, et_off>&& a, const number<B, et_off>& b) { using default_ops::eval_modulus; eval_modulus(a.backend(), b.backend()); return static_cast<number<B, et_off>&&>(a); }