• Home
  • Raw
  • Download

Lines Matching refs:max

50     BOOST_STATIC_CONSTANT(Number, max = complement<size>::template traits<Number>::max);
66 BOOST_STATIC_CONSTANT(Number, max =
67 Number((prev::max) << CHAR_BIT)
73 BOOST_STATIC_CONSTANT(Number, max =
74 Number(Number(prev::max) * shift)
92 BOOST_STATIC_CONSTANT(Number, max = UCHAR_MAX);
102 BOOST_STATIC_CONSTANT(Number, max = SCHAR_MAX);
116 BOOST_STATIC_CONSTANT(Number, max =
117 complement_base<is_signed>::template values<Number>::max);
127 BOOST_STATIC_CONSTANT(Number, max = (complement_traits_aux<Number, sizeof(Number)>::max));
251 BOOST_STATIC_ASSERT((complement_traits<Number>::max) > Number(0)); in test_aux()
255 BOOST_STATIC_ASSERT(Number(complement_traits<Number>::max) > Number(0)); in test_aux()
259 const Number max = complement_traits<Number>::max; in test_aux() local
263 ? max in test_aux()
264 : max / 2 - 1; in test_aux()
267 << stream_number(max) << "..." << std::flush; in test_aux()
293 const Number max = complement_traits<Number>::max; in signed_test() local
296 difference_type d1 = boost::detail::numeric_distance(min, max); in signed_test()
297 difference_type d2 = boost::detail::numeric_distance(max, min); in signed_test()
299 std::cout << stream_number(min) << "->" << stream_number(max) << "=="; in signed_test()
301 std::cout << std::hex << stream_number(max) << "->" << stream_number(min) in signed_test()
303 assert(d1 == difference_type(max) - difference_type(min)); in signed_test()
304 assert(d2 == difference_type(min) - difference_type(max)); in signed_test()
314 const Number max = complement_traits<Number>::max; in signed_test() local
318 difference_type max_distance = complement_traits<difference_type>::max; in signed_test()
321 const Number n2 = Number(max + min_distance); in signed_test()
323 difference_type d2 = boost::detail::numeric_distance(max, n2); in signed_test()
327 std::cout << std::hex << stream_number(max) << "->" << stream_number(n2) in signed_test()
344 BOOST_STATIC_ASSERT((complement_traits<Number>::max) > Number(0)); in test_aux()
348 BOOST_STATIC_ASSERT(Number(complement_traits<Number>::max) > Number(0)); in test_aux()
351 const Number max = complement_traits<Number>::max; in test_aux() local
355 << stream_number(max) << "..." << std::flush; in test_aux()