Rename endian types to a scheme that mimics cstdint.hpp. Change test and example code accordingly.

This commit is contained in:
Beman committed 2013-05-20 17:03:12 -04:00
1 parent c1dff8958c
commit 870b542456
6 files changed
+635 -635

No files matched your search

+12 -12
View File
@@ -165,23 +165,23 @@ int cpp_main(int argc, char* argv[])
cout << "\nbyte swap intrinsics used: " BOOST_ENDIAN_INTRINSIC_MSG << endl;
cout << endl << "int16_t, big16_t" << endl;
test<int16_t, big16_t>(0x1122);
cout << endl << "int16_t, big_int16_t" << endl;
test<int16_t, big_int16_t>(0x1122);
cout << endl << "int16_t, little16_t" << endl;
test<int16_t, little16_t>(0x1122);
cout << endl << "int16_t, little_int16_t" << endl;
test<int16_t, little_int16_t>(0x1122);
cout << endl << "int32_t, big32_t" << endl;
test<int32_t, big32_t>(0x11223344);
cout << endl << "int32_t, big_int32_t" << endl;
test<int32_t, big_int32_t>(0x11223344);
cout << endl << "int32_t, little32_t" << endl;
test<int32_t, little32_t>(0x11223344);
cout << endl << "int32_t, little_int32_t" << endl;
test<int32_t, little_int32_t>(0x11223344);
cout << endl << "int64_t, big64_t" << endl;
test<int64_t, big64_t>(0x1122334455667788);
cout << endl << "int64_t, big_int64_t" << endl;
test<int64_t, big_int64_t>(0x1122334455667788);
cout << endl << "int64_t, little64_t" << endl;
test<int64_t, little64_t>(0x1122334455667788);
cout << endl << "int64_t, little_int64_t" << endl;
test<int64_t, little_int64_t>(0x1122334455667788);
//cout << "float" << endl;
//test<float>(1.2345f);