mirror of
https://github.com/boostorg/integer.git
synced 2026-04-29 10:23:19 +02:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2536a131ce | |||
| 1898e66238 | |||
| cc73477d13 | |||
| 8457bd01b1 | |||
| 707faa1086 | |||
| 7bd48eb3f3 | |||
| 7c62277986 | |||
| 8368cd0a55 | |||
| 794fdf9bad | |||
| cd98c4a257 | |||
| 84c8a52085 | |||
| 8a1d11f369 | |||
| a5356bb254 | |||
| 2f13159023 | |||
| 6293af825a | |||
| 896f2a7654 |
@@ -114,7 +114,7 @@ namespace boost
|
||||
typedef typename detail::int_least_helper
|
||||
<
|
||||
#ifdef BOOST_HAS_LONG_LONG
|
||||
(Bits-1 <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
|
||||
(Bits <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
|
||||
#else
|
||||
1 +
|
||||
#endif
|
||||
@@ -144,7 +144,7 @@ namespace boost
|
||||
<
|
||||
5 +
|
||||
#ifdef BOOST_HAS_LONG_LONG
|
||||
(Bits-1 <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
|
||||
(Bits <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
|
||||
#else
|
||||
1 +
|
||||
#endif
|
||||
|
||||
@@ -152,7 +152,7 @@ void do_test_bits()
|
||||
if(boost::detail::test_errors() != last_error_count)
|
||||
{
|
||||
last_error_count = boost::detail::test_errors();
|
||||
std::cout << "Errors occured while testing with bit count = " << Bits << std::endl;
|
||||
std::cout << "Errors occurred while testing with bit count = " << Bits << std::endl;
|
||||
std::cout << "Type int_t<" << Bits << ">::least was " << get_name_of_type(least_int(0)) << std::endl;
|
||||
std::cout << "Type int_t<" << Bits << ">::fast was " << get_name_of_type(fast_int(0)) << std::endl;
|
||||
std::cout << "Type uint_t<" << Bits << ">::least was " << get_name_of_type(least_uint(0)) << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user