Lines Matching refs:integer
18 namespace integer
56 [*Header: ] [@../../../../boost/integer/common_factor_rt.hpp <boost/integer/common_factor_rt.hpp>]
59 class boost::integer::gcd_evaluator
73 The boost::integer::gcd_evaluator class template defines a function object
92 [*Header: ] [@../../../../boost/integer/common_factor_rt.hpp <boost/integer/common_factor_rt.hpp>]
95 class boost::integer::lcm_evaluator
109 The boost::integer::lcm_evaluator class template defines a function object
115 of the integer type, the results are undefined.
129 [*Header: ] [@../../../../boost/integer/common_factor_rt.hpp <boost/integer/common_factor_rt.hpp>]
132 constexpr IntegerType boost::integer::gcd( IntegerType const &a, IntegerType const &b );
135 constexpr IntegerType boost::integer::lcm( IntegerType const &a, IntegerType const &b );
151 The boost::integer::gcd function template returns the greatest common
153 `boost::integer::gcd_range` is the iteration of the above gcd algorithm over a
160 The boost::integer::lcm function template returns the least common
174 [*Header: ] [@../../../../boost/integer/common_factor_ct.hpp <boost/integer/common_factor_ct.hpp>]
179 …struct boost::integer::static_gcd : public mpl::integral_c<static_gcd_type, implementation_defined>
184 …struct boost::integer::static_lcm : public mpl::integral_c<static_gcd_type, implementation_defined>
188 The type `static_gcd_type` is the widest unsigned-integer-type that is supported
193 The boost::integer::static_gcd and boost::integer::static_lcm class templates
204 #include <boost/integer/common_factor.hpp>
215 << boost::integer::gcd(6, 15) << " and "
216 << boost::integer::lcm(6, 15) << ", respectively."
220 << boost::integer::static_gcd<8, 9>::value
222 << boost::integer::static_lcm<8, 9>::value
226 std::transform( a, a + 3, b, c, boost::integer::gcd_evaluator<int>() );
232 [section:gcd_header Header <boost/integer/common_factor.hpp>]
235 [@../../../../boost/integer/common_factor_ct.hpp <boost/integer/common_factor_ct.hpp>]
236 and [@../../../../boost/integer/common_factor_rt.hpp <boost/integer/common_factor_rt.hpp>].
246 The program [@../../../../libs/integer/test/common_factor_test.cpp common_factor_test.cpp] is a dem…